Huebook

Deep Space Royal to Galactic Civilization Gradient

CSS

background: linear-gradient(90deg, #223382 0%, #442288 100%);

From Deep Space Royal (#223382) to Galactic Civilization (#442288). The two hues are 31° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Deep Space Royal#22338234, 51, 130229°, 59%, 32%74, 61, 0, 49
25% (near Intergalactic Highway)#2B2F8443, 47, 132237°, 51%, 34%67, 64, 0, 48
50% (near Perfect Dark)#332B8551, 43, 133245°, 51%, 35%62, 68, 0, 48
75% (near Galactic Civilization)#3C268760, 38, 135254°, 56%, 34%56, 72, 0, 47
Galactic Civilization#44228868, 34, 136260°, 60%, 33%50, 75, 0, 47

Halfway along, the gradient is #332B85, closest to the named color Perfect Dark. 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.02: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 Deep Space Royal to Galactic Civilization gradient?

It starts at #223382 (Deep Space Royal) and ends at #442288 (Galactic Civilization), with #332B85 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #223382, #442288) runs from Galactic Civilization on the left to Deep Space Royal on the right.