Huebook

Dark Blue (CSS) to Indigo Static Gradient

CSS

background: linear-gradient(90deg, #00008b 0%, #4b0183 100%);

From Dark Blue (CSS) (#00008B) to Indigo Static (#4B0183). The two hues are 34° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYKOKLCH
Dark Blue (CSS)#00008B0, 0, 139240°, 100%, 27%100, 100, 0, 4528.8% 0.199 264
25% (near Orbital Kingdom)#13008919, 0, 137248°, 100%, 27%86, 100, 0, 4629.2% 0.192 269
50% (near Orbital Kingdom)#26018738, 1, 135257°, 99%, 27%72, 99, 0, 4730.3% 0.185 278
75% (near Galactic Federation)#38018556, 1, 133265°, 99%, 26%58, 99, 0, 4831.9% 0.180 289
Indigo Static#4B018375, 1, 131274°, 98%, 26%43, 99, 0, 4934.1% 0.180 301

Halfway along, the gradient is #260187, closest to the named color Orbital Kingdom. The stops are mixed in RGB, the way browsers draw a linear gradient by default.

Text on this gradient

White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.19:1, so the change is gentle.

Other ways to use it

Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.

Related gradients

Questions

What are the HEX codes of the Dark Blue (CSS) to Indigo Static gradient?

It starts at #00008B (Dark Blue (CSS)) and ends at #4B0183 (Indigo Static), with #260187 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #00008b, #4b0183) runs from Indigo Static on the left to Dark Blue (CSS) on the right.