← All gradients
35%How it works
Mercury ↗

Mercury Gradient

#1F2FBB
#0A6CDC
Text readability
Brand CoolDark Finance

Mercury Gradient is a cool and dark 2-colour linear gradient that runs from blue (#1F2FBB) to blue (#0A6CDC) at 135°. It is inspired by Mercury’s brand colours, a reference point for finance interfaces. White text reads best on it, at a contrast ratio of 7.1:1 against the gradient’s average colour (AAA). Check every point, not just the average →

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

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

Mercury Gradient for SwiftUI, Flutter, Android and more

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

let mercuryGradient = LinearGradient(
    colors: [
        Color(red: 0.122, green: 0.184, blue: 0.733),
        Color(red: 0.039, green: 0.424, blue: 0.863)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(mercuryGradient)

Colours in the Mercury Gradient

StopNameHEXRGBHSL
1Blue#1F2FBBrgb(31, 47, 187)hsl(234, 72%, 43%)
2Blue#0A6CDCrgb(10, 108, 220)hsl(212, 91%, 45%)

Mercury Gradient in use

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

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

The Mercury Gradient uses 2 colours: #1F2FBB and #0A6CDC, at an angle of 135°.

How do I use the Mercury Gradient in CSS?

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

What text colour works on the Mercury Gradient?

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