← All gradients
35%How it works
UI

Notification Panel

#1E293B
#0F172A
Text readability
Ui DarkNeutral

Notification Panel is a dark and neutral 2-colour linear gradient that runs from charcoal (#1E293B) to near-black (#0F172A) at 180°. It suits dark-mode interfaces and footers and subtle surfaces and app backgrounds. White text reads best on it, at a contrast ratio of 16.3:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(180deg, #1E293B, #0F172A);
Tailwind
bg-gradient-to-b from-[#1E293B] to-[#0F172A]
Figma token
{
    "notification-panel": {
        "value": "linear-gradient(180deg, #1E293B 0%, #0F172A 100%)",
        "type": "color"
    }
}

Notification Panel gradient for SwiftUI, Flutter, Android and more

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

let notificationPanelGradient = LinearGradient(
    colors: [
        Color(red: 0.118, green: 0.161, blue: 0.231),
        Color(red: 0.059, green: 0.09, blue: 0.165)
    ],
    startPoint: UnitPoint(x: 0.5, y: 0),
    endPoint: UnitPoint(x: 0.5, y: 1)
)

// Usage
Rectangle().fill(notificationPanelGradient)

Colours in the Notification Panel gradient

StopNameHEXRGBHSL
1Charcoal#1E293Brgb(30, 41, 59)hsl(217, 33%, 17%)
2Near-black#0F172Argb(15, 23, 42)hsl(222, 47%, 11%)

Notification Panel gradient in use

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

Notification Panel 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 Notification Panel gradient?

The Notification Panel gradient uses 2 colours: #1E293B and #0F172A, at an angle of 180°.

How do I use the Notification Panel gradient in CSS?

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

What text colour works on the Notification Panel gradient?

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