Huebook

Stargazer to Genie Gradient

CSS

background: linear-gradient(90deg, #3f5865 0%, #3e4364 100%);

From Stargazer (#3F5865) to Genie (#3E4364). The two hues are 32° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Stargazer#3F586563, 88, 101201°, 23%, 32%38, 13, 0, 60
25% (near Into the Stratosphere)#3F536563, 83, 101208°, 23%, 32%38, 18, 0, 60
50% (near Into the Stratosphere)#3F4E6563, 78, 101216°, 23%, 32%38, 23, 0, 60
75% (near Bonne Nuit)#3E486462, 72, 100224°, 23%, 32%38, 28, 0, 61
Genie#3E436462, 67, 100232°, 23%, 32%38, 33, 0, 61

Halfway along, the gradient is #3F4E65, closest to the named color Into the Stratosphere. 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.28: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 Stargazer to Genie gradient?

It starts at #3F5865 (Stargazer) and ends at #3E4364 (Genie), with #3F4E65 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #3f5865, #3e4364) runs from Genie on the left to Stargazer on the right.