Huebook

Deep Sea Nightmare to The Vast of Night Gradient

CSS

background: linear-gradient(90deg, #002366 0%, #110066 100%);

From Deep Sea Nightmare (#002366) to The Vast of Night (#110066). 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 Sea Nightmare#0023660, 35, 102219°, 100%, 20%100, 66, 0, 60
25% (near Midnight Melancholia)#041A664, 26, 102227°, 92%, 21%96, 75, 0, 60
50% (near Dying Storm Blue)#0912669, 18, 102234°, 84%, 22%91, 82, 0, 60
75% (near Dying Storm Blue)#0D096613, 9, 102243°, 84%, 22%87, 91, 0, 60
The Vast of Night#11006617, 0, 102250°, 100%, 20%83, 100, 0, 60

Halfway along, the gradient is #091266, closest to the named color Dying Storm 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.18: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 Sea Nightmare to The Vast of Night gradient?

It starts at #002366 (Deep Sea Nightmare) and ends at #110066 (The Vast of Night), with #091266 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #002366, #110066) runs from The Vast of Night on the left to Deep Sea Nightmare on the right.