Deep Midnight Sun gradient
A 3-color linear CSS gradient from #002117 to #1A122D, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #002117 | rgb(0, 33, 23) | oklch(22% 0.044 168.9) | 0% |
| #006B74 | rgb(0, 107, 116) | oklch(48.2% 0.082 205) | 50% |
| #1A122D | rgb(26, 18, 45) | oklch(20.8% 0.052 295.1) | 100% |
CSS
The first declaration is a plain sRGB gradient for every browser. The second interpolates in OKLCH, which keeps the middle as vivid as the ends.
background: linear-gradient(270deg, #002117, #006B74, #1A122D); background: linear-gradient(270deg in oklch, #002117, #006B74, #1A122D);
Tailwind CSS v4
bg-linear-270/oklch from-[#002117] via-[#006B74] to-[#1A122D]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Velvet Borealislinear-gradient(120deg, #001C1A, #008AC3, #2F2E9A, #310032)
- Dusty Lumenlinear-gradient(315deg, #CFA9FF, #00707B, #001309)
- Nocturne Northern Lightslinear-gradient(90deg, #00201C, #565BB0, #240729)
- Deep Cloverlinear-gradient(160deg, #005E57, #02321A, #091000)
- Noir Indigo Inklinear-gradient(315deg, #00635D, #003E53, #060040)
- Summer Cornflowerlinear-gradient(120deg, #14012A, #092D40, #37695B)
- Obsidian Mulberrylinear-gradient(0deg, #005A60, #1E1555, #1B0008)
- Obsidian Harbourlinear-gradient(270deg, #000B15, #14234D, #453768)