← All gradients
35%How it works
UI

Frosted Glass

#F0F9FF
#E0F2FE
#BAE6FD
Text readability
Ui CoolPastel

Frosted Glass is a cool and pastel 3-colour linear gradient that runs from off-white (#F0F9FF) through off-white (#E0F2FE) to pale blue (#BAE6FD) at 135°. 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.9:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #F0F9FF, #E0F2FE, #BAE6FD);
Tailwind
bg-gradient-to-br from-[#F0F9FF] via-[#E0F2FE] to-[#BAE6FD]
Figma token
{
    "frosted-glass": {
        "value": "linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #BAE6FD 100%)",
        "type": "color"
    }
}

Frosted Glass gradient for SwiftUI, Flutter, Android and more

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

let frostedGlassGradient = LinearGradient(
    colors: [
        Color(red: 0.941, green: 0.976, blue: 1),
        Color(red: 0.878, green: 0.949, blue: 0.996),
        Color(red: 0.729, green: 0.902, blue: 0.992)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(frostedGlassGradient)

Colours in the Frosted Glass gradient

StopNameHEXRGBHSL
1Off-white#F0F9FFrgb(240, 249, 255)hsl(204, 100%, 97%)
2Off-white#E0F2FErgb(224, 242, 254)hsl(204, 94%, 94%)
3Pale blue#BAE6FDrgb(186, 230, 253)hsl(201, 94%, 86%)

Frosted Glass gradient in use

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

Frosted Glass 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 Frosted Glass gradient?

The Frosted Glass gradient uses 3 colours: #F0F9FF, #E0F2FE and #BAE6FD, at an angle of 135°.

How do I use the Frosted Glass gradient in CSS?

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

What text colour works on the Frosted Glass gradient?

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