Huebook

Narwhal Grey to Midnight Oil Gradient

CSS

background: linear-gradient(90deg, #080813 0%, #0b0c14 100%);

From Narwhal Grey (#080813) to Midnight Oil (#0B0C14). The two hues are 7° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Narwhal Grey#0808138, 8, 19240°, 41%, 5%58, 58, 0, 93
25% (near Narwhal Grey)#0909139, 9, 19240°, 36%, 5%53, 53, 0, 93
50% (near Midnight Oil)#0A0A1410, 10, 20240°, 33%, 6%50, 50, 0, 92
75% (near Midnight Oil)#0A0B1410, 11, 20234°, 33%, 6%50, 45, 0, 92
Midnight Oil#0B0C1411, 12, 20233°, 29%, 6%45, 40, 0, 92

Halfway along, the gradient is #0A0A14, closest to the named color Midnight Oil. 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.02: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 Narwhal Grey to Midnight Oil gradient?

It starts at #080813 (Narwhal Grey) and ends at #0B0C14 (Midnight Oil), with #0A0A14 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #080813, #0b0c14) runs from Midnight Oil on the left to Narwhal Grey on the right.