← All gradients
35%How it works
Curated

Frost

#000428
#004E92
Text readability
Curated DarkCool

Frost is a dark and cool 2-colour linear gradient that runs from near-black (#000428) to blue (#004E92) at 180°. It suits dark-mode interfaces and footers and dashboards and SaaS landing pages. White text reads best on it, at a contrast ratio of 14.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(180deg, #000428, #004E92);
Tailwind
bg-gradient-to-b from-[#000428] to-[#004E92]
Figma token
{
    "frost": {
        "value": "linear-gradient(180deg, #000428 0%, #004E92 100%)",
        "type": "color"
    }
}

Frost gradient for SwiftUI, Flutter, Android and more

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

let frostGradient = LinearGradient(
    colors: [
        Color(red: 0, green: 0.016, blue: 0.157),
        Color(red: 0, green: 0.306, blue: 0.573)
    ],
    startPoint: UnitPoint(x: 0.5, y: 0),
    endPoint: UnitPoint(x: 0.5, y: 1)
)

// Usage
Rectangle().fill(frostGradient)

Colours in the Frost gradient

StopNameHEXRGBHSL
1Near-black#000428rgb(0, 4, 40)hsl(234, 100%, 8%)
2Blue#004E92rgb(0, 78, 146)hsl(208, 100%, 29%)

Frost gradient in use

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

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

The Frost gradient uses 2 colours: #000428 and #004E92, at an angle of 180°.

How do I use the Frost gradient in CSS?

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

What text colour works on the Frost gradient?

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