Huebook

Hyper Blue to Space Exploration Gradient

CSS

background: linear-gradient(90deg, #015f97 0%, #001199 100%);

From Hyper Blue (#015F97) to Space Exploration (#001199). 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
Hyper Blue#015F971, 95, 151202°, 99%, 30%99, 37, 0, 41
25% (near Pacific Depths)#014C981, 76, 152210°, 99%, 30%99, 50, 0, 40
50% (near Smalt)#0138981, 56, 152218°, 99%, 30%99, 63, 0, 40
75% (near Space Dust)#0025990, 37, 153225°, 100%, 30%100, 76, 0, 40
Space Exploration#0011990, 17, 153233°, 100%, 30%100, 89, 0, 40

Halfway along, the gradient is #013898, closest to the named color Smalt. 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 2.00: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 Hyper Blue to Space Exploration gradient?

It starts at #015F97 (Hyper Blue) and ends at #001199 (Space Exploration), with #013898 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #015f97, #001199) runs from Space Exploration on the left to Hyper Blue on the right.