Huebook

Everlasting Night to Space Battle Blue Gradient

CSS

background: linear-gradient(90deg, #000099 0%, #440099 100%);

From Everlasting Night (#000099) to Space Battle Blue (#440099). The two hues are 27° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Everlasting Night#0000990, 0, 153240°, 100%, 30%100, 100, 0, 40
25% (near Everlasting Night)#11009917, 0, 153247°, 100%, 30%89, 100, 0, 40
50% (near Dramatic Blue)#22009934, 0, 153253°, 100%, 30%78, 100, 0, 40
75% (near Dramatic Blue)#33009951, 0, 153260°, 100%, 30%67, 100, 0, 40
Space Battle Blue#44009968, 0, 153267°, 100%, 30%56, 100, 0, 40

Halfway along, the gradient is #220099, closest to the named color Dramatic Blue. 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.17: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 Everlasting Night to Space Battle Blue gradient?

It starts at #000099 (Everlasting Night) and ends at #440099 (Space Battle Blue), with #220099 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #000099, #440099) runs from Space Battle Blue on the left to Everlasting Night on the right.