← All gradients
35%How it works
UI

Indigo Night

#1E1B4B
#3730A3
#6366F1
Text readability
Ui DarkCoolBold

Indigo Night is a dark, cool and bold 3-colour linear gradient that runs from deep blue (#1E1B4B) through blue (#3730A3) to light blue (#6366F1) at 135°. It suits dark-mode interfaces and footers and dashboards and SaaS landing pages. White text reads best on it, at a contrast ratio of 9.0:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #1E1B4B, #3730A3, #6366F1);
Tailwind
bg-gradient-to-br from-[#1E1B4B] via-[#3730A3] to-[#6366F1]
Figma token
{
    "indigo-night": {
        "value": "linear-gradient(135deg, #1E1B4B 0%, #3730A3 50%, #6366F1 100%)",
        "type": "color"
    }
}

Indigo Night gradient for SwiftUI, Flutter, Android and more

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

let indigoNightGradient = LinearGradient(
    colors: [
        Color(red: 0.118, green: 0.106, blue: 0.294),
        Color(red: 0.216, green: 0.188, blue: 0.639),
        Color(red: 0.388, green: 0.4, blue: 0.945)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(indigoNightGradient)

Colours in the Indigo Night gradient

StopNameHEXRGBHSL
1Deep blue#1E1B4Brgb(30, 27, 75)hsl(244, 47%, 20%)
2Blue#3730A3rgb(55, 48, 163)hsl(244, 55%, 41%)
3Light blue#6366F1rgb(99, 102, 241)hsl(239, 84%, 67%)

Indigo Night gradient in use

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

Indigo Night 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 Indigo Night gradient?

The Indigo Night gradient uses 3 colours: #1E1B4B, #3730A3 and #6366F1, at an angle of 135°.

How do I use the Indigo Night gradient in CSS?

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

What text colour works on the Indigo Night gradient?

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