← All gradients
35%How it works
UI

Disabled State

#F4F4F5
#E4E4E7
Text readability
Ui Neutral

Disabled State is a neutral 2-colour linear gradient that runs from off-white (#F4F4F5) to light grey (#E4E4E7) at 135°. It suits subtle surfaces and app backgrounds. Black text reads best on it, at a contrast ratio of 17.8:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #F4F4F5, #E4E4E7);
Tailwind
bg-gradient-to-br from-[#F4F4F5] to-[#E4E4E7]
Figma token
{
    "disabled-state": {
        "value": "linear-gradient(135deg, #F4F4F5 0%, #E4E4E7 100%)",
        "type": "color"
    }
}

Disabled State gradient for SwiftUI, Flutter, Android and more

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

let disabledStateGradient = LinearGradient(
    colors: [
        Color(red: 0.957, green: 0.957, blue: 0.961),
        Color(red: 0.894, green: 0.894, blue: 0.906)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(disabledStateGradient)

Colours in the Disabled State gradient

StopNameHEXRGBHSL
1Off-white#F4F4F5rgb(244, 244, 245)hsl(240, 5%, 96%)
2Light grey#E4E4E7rgb(228, 228, 231)hsl(240, 6%, 90%)

Disabled State gradient in use

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

Disabled State 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 Disabled State gradient?

The Disabled State gradient uses 2 colours: #F4F4F5 and #E4E4E7, at an angle of 135°.

How do I use the Disabled State gradient in CSS?

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

What text colour works on the Disabled State gradient?

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