← All gradients
35%How it works
UI

Glass Card Light

#FFFFFF
#F0F9FF
Text readability
Ui CoolPastel

Glass Card Light is a cool and pastel 2-colour linear gradient that runs from off-white (#FFFFFF) to off-white (#F0F9FF) 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 20.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →

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

Glass Card Light gradient for SwiftUI, Flutter, Android and more

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

let glassCardLightGradient = LinearGradient(
    colors: [
        Color(red: 1, green: 1, blue: 1),
        Color(red: 0.941, green: 0.976, blue: 1)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(glassCardLightGradient)

Colours in the Glass Card Light gradient

StopNameHEXRGBHSL
1Off-white#FFFFFFrgb(255, 255, 255)hsl(0, 0%, 100%)
2Off-white#F0F9FFrgb(240, 249, 255)hsl(204, 100%, 97%)

Glass Card Light gradient in use

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

Glass Card Light 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 Glass Card Light gradient?

The Glass Card Light gradient uses 2 colours: #FFFFFF and #F0F9FF, at an angle of 135°.

How do I use the Glass Card Light gradient in CSS?

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

What text colour works on the Glass Card Light gradient?

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