Huebook

Blue Whale to Eternal Darkness Gradient

CSS

background: linear-gradient(90deg, #1e3442 0%, #1c2841 100%);

From Blue Whale (#1E3442) to Eternal Darkness (#1C2841). The two hues are 17° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Blue Whale#1E344230, 52, 66203°, 38%, 19%55, 21, 0, 74
25% (near Blue Whale)#1E314230, 49, 66208°, 38%, 19%55, 26, 0, 74
50% (near Blue Whale)#1D2E4229, 46, 66212°, 39%, 19%56, 30, 0, 74
75% (near Eternal Darkness)#1D2B4129, 43, 65217°, 38%, 18%55, 34, 0, 75
Eternal Darkness#1C284128, 40, 65221°, 40%, 18%57, 38, 0, 75

Halfway along, the gradient is #1D2E42, closest to the named color Blue Whale. 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.14: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 Blue Whale to Eternal Darkness gradient?

It starts at #1E3442 (Blue Whale) and ends at #1C2841 (Eternal Darkness), with #1D2E42 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1e3442, #1c2841) runs from Eternal Darkness on the left to Blue Whale on the right.