← All gradients
35%How it works
UI

Tooltip Dark

#1E293B
#334155
Text readability
Ui DarkNeutral

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

CSS
background: linear-gradient(135deg, #1E293B, #334155);
Tailwind
bg-gradient-to-br from-[#1E293B] to-[#334155]
Figma token
{
    "tooltip-dark": {
        "value": "linear-gradient(135deg, #1E293B 0%, #334155 100%)",
        "type": "color"
    }
}

Tooltip Dark gradient for SwiftUI, Flutter, Android and more

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

let tooltipDarkGradient = LinearGradient(
    colors: [
        Color(red: 0.118, green: 0.161, blue: 0.231),
        Color(red: 0.2, green: 0.255, blue: 0.333)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(tooltipDarkGradient)

Colours in the Tooltip Dark gradient

StopNameHEXRGBHSL
1Charcoal#1E293Brgb(30, 41, 59)hsl(217, 33%, 17%)
2Charcoal#334155rgb(51, 65, 85)hsl(215, 25%, 27%)

Tooltip Dark gradient in use

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

Tooltip Dark 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 Tooltip Dark gradient?

The Tooltip Dark gradient uses 2 colours: #1E293B and #334155, at an angle of 135°.

How do I use the Tooltip Dark gradient in CSS?

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

What text colour works on the Tooltip Dark gradient?

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