← All gradients
35%How it works
UI

Onboarding Hero

#EFF6FF
#DBEAFE
#BFDBFE
Text readability
Ui CoolPastel

Onboarding Hero is a cool and pastel 3-colour linear gradient that runs from off-white (#EFF6FF) through off-white (#DBEAFE) to pale blue (#BFDBFE) 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 17.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →

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

Onboarding Hero gradient for SwiftUI, Flutter, Android and more

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

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

// Usage
Rectangle().fill(onboardingHeroGradient)

Colours in the Onboarding Hero gradient

StopNameHEXRGBHSL
1Off-white#EFF6FFrgb(239, 246, 255)hsl(214, 100%, 97%)
2Off-white#DBEAFErgb(219, 234, 254)hsl(214, 95%, 93%)
3Pale blue#BFDBFErgb(191, 219, 254)hsl(213, 97%, 87%)

Onboarding Hero gradient in use

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

Onboarding Hero 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 Onboarding Hero gradient?

The Onboarding Hero gradient uses 3 colours: #EFF6FF, #DBEAFE and #BFDBFE, at an angle of 180°.

How do I use the Onboarding Hero gradient in CSS?

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

What text colour works on the Onboarding Hero gradient?

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