Huebook

Plunge to Midnight Melancholia Gradient

CSS

background: linear-gradient(90deg, #035568 0%, #002266 100%);

From Plunge (#035568) to Midnight Melancholia (#002266). The two hues are 29° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Plunge#0355683, 85, 104191°, 94%, 21%97, 18, 0, 59
25% (near Raging Thunderstorm)#0248682, 72, 104199°, 96%, 21%98, 31, 0, 59
50% (near Lost in Space)#023C672, 60, 103206°, 96%, 21%98, 42, 0, 60
75% (near Neptune’s Dream)#012F671, 47, 103213°, 98%, 20%99, 54, 0, 60
Midnight Melancholia#0022660, 34, 102220°, 100%, 20%100, 67, 0, 60

Halfway along, the gradient is #023C67, closest to the named color Lost in Space. 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.76: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 Plunge to Midnight Melancholia gradient?

It starts at #035568 (Plunge) and ends at #002266 (Midnight Melancholia), with #023C67 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #035568, #002266) runs from Midnight Melancholia on the left to Plunge on the right.