← All gradients
35%How it works
Discord ↗

Discord Gradient

#5865F2
#7289DA
Text readability
Brand Cool Tech

Discord Gradient is a cool 2-colour linear gradient that runs from light blue (#5865F2) to light blue (#7289DA) at 135°. It is inspired by Discord’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 5.3:1 against the gradient’s average colour (AA). Check every point, not just the average →

Unofficial reference: inspired by Discord’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Discord. Discord 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 Discord’s. Terms

CSS
background: linear-gradient(135deg, #5865F2, #7289DA);
Tailwind
bg-gradient-to-br from-[#5865F2] to-[#7289DA]
Figma token
{
    "discord": {
        "value": "linear-gradient(135deg, #5865F2 0%, #7289DA 100%)",
        "type": "color"
    }
}

Discord Gradient for SwiftUI, Flutter, Android and more

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

let discordGradient = LinearGradient(
    colors: [
        Color(red: 0.345, green: 0.396, blue: 0.949),
        Color(red: 0.447, green: 0.537, blue: 0.855)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(discordGradient)

Colours in the Discord Gradient

StopNameHEXRGBHSL
1Light blue#5865F2rgb(88, 101, 242)hsl(235, 86%, 65%)
2Light blue#7289DArgb(114, 137, 218)hsl(227, 58%, 65%)

Discord Gradient in use

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

Discord 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 Discord Gradient?

The Discord Gradient uses 2 colours: #5865F2 and #7289DA, at an angle of 135°.

How do I use the Discord Gradient in CSS?

Paste background: linear-gradient(135deg, #5865F2, #7289DA); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Discord Gradient?

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