← All gradients
35%How it works
Curated

Horizon

#003973
#E5E5BE
Text readability
Curated CoolNeutral

Horizon is a cool and neutral 2-colour linear gradient that runs from deep blue (#003973) to pale yellow (#E5E5BE) at 135°. It suits dashboards and SaaS landing pages and subtle surfaces and app backgrounds. Black text reads best on it, at a contrast ratio of 6.1:1 against the gradient’s average colour (AA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #003973, #E5E5BE);
Tailwind
bg-gradient-to-br from-[#003973] to-[#E5E5BE]
Figma token
{
    "horizon": {
        "value": "linear-gradient(135deg, #003973 0%, #E5E5BE 100%)",
        "type": "color"
    }
}

Horizon gradient for SwiftUI, Flutter, Android and more

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

let horizonGradient = LinearGradient(
    colors: [
        Color(red: 0, green: 0.224, blue: 0.451),
        Color(red: 0.898, green: 0.898, blue: 0.745)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(horizonGradient)

Colours in the Horizon gradient

StopNameHEXRGBHSL
1Deep blue#003973rgb(0, 57, 115)hsl(210, 100%, 23%)
2Pale yellow#E5E5BErgb(229, 229, 190)hsl(60, 43%, 82%)

Horizon gradient in use

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

Horizon 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 Horizon gradient?

The Horizon gradient uses 2 colours: #003973 and #E5E5BE, at an angle of 135°.

How do I use the Horizon gradient in CSS?

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

What text colour works on the Horizon gradient?

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