Huebook

Sea Creature to Midnight Melancholia Gradient

CSS

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

From Sea Creature (#00586D) to Midnight Melancholia (#002266). The two hues are 28° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Sea Creature#00586D0, 88, 109192°, 100%, 21%100, 19, 0, 57
25% (near Raging Thunderstorm)#004B6B0, 75, 107198°, 100%, 21%100, 30, 0, 58
50% (near Tardis Blue)#003D6A0, 61, 106205°, 100%, 21%100, 42, 0, 58
75% (near Neptune’s Dream)#0030680, 48, 104212°, 100%, 20%100, 54, 0, 59
Midnight Melancholia#0022660, 34, 102220°, 100%, 20%100, 67, 0, 60

Halfway along, the gradient is #003D6A, closest to the named color Tardis 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.84: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 Sea Creature to Midnight Melancholia gradient?

It starts at #00586D (Sea Creature) and ends at #002266 (Midnight Melancholia), with #003D6A in the middle.

How do I reverse the gradient?

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