Huebook

Oceanic Noir to Sombre Night Gradient

CSS

background: linear-gradient(90deg, #172b36 0%, #161e34 100%);

From Oceanic Noir (#172B36) to Sombre Night (#161E34). The two hues are 23° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Oceanic Noir#172B3623, 43, 54201°, 40%, 15%57, 20, 0, 79
25% (near Oceanic Noir)#17283623, 40, 54207°, 40%, 15%57, 26, 0, 79
50% (near Dark)#17253523, 37, 53212°, 39%, 15%57, 30, 0, 79
75% (near Sombre Night)#16213522, 33, 53219°, 41%, 15%58, 38, 0, 79
Sombre Night#161E3422, 30, 52224°, 41%, 15%58, 42, 0, 80

Halfway along, the gradient is #172535, closest to the named color Dark. 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.13: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 Oceanic Noir to Sombre Night gradient?

It starts at #172B36 (Oceanic Noir) and ends at #161E34 (Sombre Night), with #172535 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #172b36, #161e34) runs from Sombre Night on the left to Oceanic Noir on the right.