← All gradients
35%How it works
UI

Dark Mode Nav

#0A0A0A
#141414
Text readability
Ui DarkNeutral

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

CSS
background: linear-gradient(90deg, #0A0A0A, #141414);
Tailwind
bg-gradient-to-r from-[#0A0A0A] to-[#141414]
Figma token
{
    "dark-mode-nav": {
        "value": "linear-gradient(90deg, #0A0A0A 0%, #141414 100%)",
        "type": "color"
    }
}

Dark Mode Nav gradient for SwiftUI, Flutter, Android and more

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

let darkModeNavGradient = LinearGradient(
    colors: [
        Color(red: 0.039, green: 0.039, blue: 0.039),
        Color(red: 0.078, green: 0.078, blue: 0.078)
    ],
    startPoint: UnitPoint(x: 0, y: 0.5),
    endPoint: UnitPoint(x: 1, y: 0.5)
)

// Usage
Rectangle().fill(darkModeNavGradient)

Colours in the Dark Mode Nav gradient

StopNameHEXRGBHSL
1Near-black#0A0A0Argb(10, 10, 10)hsl(0, 0%, 4%)
2Near-black#141414rgb(20, 20, 20)hsl(0, 0%, 8%)

Dark Mode Nav gradient in use

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

Dark Mode Nav gradient variations

Reversed
Vertical
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 Dark Mode Nav gradient?

The Dark Mode Nav gradient uses 2 colours: #0A0A0A and #141414, at an angle of 90°.

How do I use the Dark Mode Nav gradient in CSS?

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

What text colour works on the Dark Mode Nav gradient?

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