Huebook

Navy to Indigo Gradient

CSS

background: linear-gradient(90deg, #000080 0%, #4b0082 100%);

From Navy (#000080) to Indigo (#4B0082). The two hues are 35° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYKOKLCH
Navy#0000800, 0, 128240°, 100%, 25%100, 100, 0, 5027.1% 0.188 264
25% (near Insomniac Blue)#13008119, 0, 129249°, 100%, 25%85, 100, 0, 4928.1% 0.184 270
50% (near Orbital Kingdom)#26008138, 0, 129258°, 100%, 25%71, 100, 0, 4929.4% 0.179 280
75% (near Galactic Federation)#38008256, 0, 130266°, 100%, 25%57, 100, 0, 4931.4% 0.178 290
Indigo#4B008275, 0, 130275°, 100%, 25%42, 100, 0, 4933.9% 0.179 302

Halfway along, the gradient is #260081, 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.24: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.

Questions

What are the HEX codes of the Navy to Indigo gradient?

It starts at #000080 (Navy) and ends at #4B0082 (Indigo), with #260081 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #000080, #4b0082) runs from Indigo on the left to Navy on the right.