Huebook

Oxford by Night to Illicit Darkness Gradient

CSS

background: linear-gradient(90deg, #001b2e 0%, #00022e 100%);

From Oxford by Night (#001B2E) to Illicit Darkness (#00022E). The two hues are 33° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Oxford by Night#001B2E0, 27, 46205°, 100%, 9%100, 41, 0, 82
25% (near Squid’s Ink)#00152E0, 21, 46213°, 100%, 9%100, 54, 0, 82
50% (near Squid’s Ink)#000F2E0, 15, 46220°, 100%, 9%100, 67, 0, 82
75% (near Illicit Darkness)#00082E0, 8, 46230°, 100%, 9%100, 83, 0, 82
Illicit Darkness#00022E0, 2, 46237°, 100%, 9%100, 96, 0, 82

Halfway along, the gradient is #000F2E, closest to the named color Squid’s Ink. 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.

Questions

What are the HEX codes of the Oxford by Night to Illicit Darkness gradient?

It starts at #001B2E (Oxford by Night) and ends at #00022E (Illicit Darkness), with #000F2E in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #001b2e, #00022e) runs from Illicit Darkness on the left to Oxford by Night on the right.