← All gradients
35%How it works
UI

Stats Card Blue

#EFF6FF
#DBEAFE
Text readability
Ui CoolPastel

Stats Card Blue is a cool and pastel 2-colour linear gradient that runs from off-white (#EFF6FF) to off-white (#DBEAFE) at 180°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 18.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(180deg, #EFF6FF, #DBEAFE);
Tailwind
bg-gradient-to-b from-[#EFF6FF] to-[#DBEAFE]
Figma token
{
    "stats-card-blue": {
        "value": "linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%)",
        "type": "color"
    }
}

Stats Card Blue gradient for SwiftUI, Flutter, Android and more

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

let statsCardBlueGradient = LinearGradient(
    colors: [
        Color(red: 0.937, green: 0.965, blue: 1),
        Color(red: 0.859, green: 0.918, blue: 0.996)
    ],
    startPoint: UnitPoint(x: 0.5, y: 0),
    endPoint: UnitPoint(x: 0.5, y: 1)
)

// Usage
Rectangle().fill(statsCardBlueGradient)

Colours in the Stats Card Blue gradient

StopNameHEXRGBHSL
1Off-white#EFF6FFrgb(239, 246, 255)hsl(214, 100%, 97%)
2Off-white#DBEAFErgb(219, 234, 254)hsl(214, 95%, 93%)

Stats Card Blue gradient in use

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

Stats Card Blue 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 Stats Card Blue gradient?

The Stats Card Blue gradient uses 2 colours: #EFF6FF and #DBEAFE, at an angle of 180°.

How do I use the Stats Card Blue gradient in CSS?

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

What text colour works on the Stats Card Blue gradient?

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