← All gradients
35%How it works
Mastodon ↗

Mastodon Gradient

#6364FF
#563ACC
Text readability
Brand CoolBold Tech

Mastodon Gradient is a cool and bold 2-colour linear gradient that runs from light blue (#6364FF) to blue (#563ACC) at 135°. It is inspired by Mastodon’s brand colours, a reference point for tech interfaces. White text reads best on it, at a contrast ratio of 5.7:1 against the gradient’s average colour (AA). Check every point, not just the average →

Unofficial reference: inspired by Mastodon’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Mastodon. Mastodon is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Mastodon’s. Terms

CSS
background: linear-gradient(135deg, #6364FF, #563ACC);
Tailwind
bg-gradient-to-br from-[#6364FF] to-[#563ACC]
Figma token
{
    "mastodon": {
        "value": "linear-gradient(135deg, #6364FF 0%, #563ACC 100%)",
        "type": "color"
    }
}

Mastodon Gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let mastodonGradient = LinearGradient(
    colors: [
        Color(red: 0.388, green: 0.392, blue: 1),
        Color(red: 0.337, green: 0.227, blue: 0.8)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(mastodonGradient)

Colours in the Mastodon Gradient

StopNameHEXRGBHSL
1Light blue#6364FFrgb(99, 100, 255)hsl(240, 100%, 69%)
2Blue#563ACCrgb(86, 58, 204)hsl(252, 59%, 51%)

Mastodon Gradient in use

Build something beautifulA hero section on the Mastodon GradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Mastodon Gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Mastodon Gradient?

The Mastodon Gradient uses 2 colours: #6364FF and #563ACC, at an angle of 135°.

How do I use the Mastodon Gradient in CSS?

Paste background: linear-gradient(135deg, #6364FF, #563ACC); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Mastodon Gradient?

White text has the best contrast, at 5.7:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.