← All gradients
35%How it works
Curated

Cobalt Steel

#C7D3E3
#5B7BA6
#1F3558
Text readability
Curated Cool

Cobalt Steel is a cool 3-colour linear gradient that runs from light grey (#C7D3E3) through blue (#5B7BA6) to deep blue (#1F3558) at 135°. It suits dashboards and SaaS landing pages. 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 →

CSS
background: linear-gradient(135deg, #C7D3E3, #5B7BA6, #1F3558);
Tailwind
bg-gradient-to-br from-[#C7D3E3] via-[#5B7BA6] to-[#1F3558]
Figma token
{
    "cobalt-steel": {
        "value": "linear-gradient(135deg, #C7D3E3 0%, #5B7BA6 50%, #1F3558 100%)",
        "type": "color"
    }
}

Cobalt Steel gradient for SwiftUI, Flutter, Android and more

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

let cobaltSteelGradient = LinearGradient(
    colors: [
        Color(red: 0.78, green: 0.827, blue: 0.89),
        Color(red: 0.357, green: 0.482, blue: 0.651),
        Color(red: 0.122, green: 0.208, blue: 0.345)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(cobaltSteelGradient)

Colours in the Cobalt Steel gradient

StopNameHEXRGBHSL
1Light grey#C7D3E3rgb(199, 211, 227)hsl(214, 33%, 84%)
2Blue#5B7BA6rgb(91, 123, 166)hsl(214, 30%, 50%)
3Deep blue#1F3558rgb(31, 53, 88)hsl(217, 48%, 23%)

Cobalt Steel gradient in use

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

Cobalt Steel 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 Cobalt Steel gradient?

The Cobalt Steel gradient uses 3 colours: #C7D3E3, #5B7BA6 and #1F3558, at an angle of 135°.

How do I use the Cobalt Steel gradient in CSS?

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

What text colour works on the Cobalt Steel 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.