Midnight Oil color: hex code #0B0C14

#0B0C14 rgb(11, 12, 20)
Shades of black

Midnight Oil has the hex code #0B0C14. It is a very dark, desaturated blue.

In the RGB color model it is made of 4.3% red, 4.7% green and 7.8% blue (11, 12, 20).

Its hue angle is 233°, with 29% saturation and 6% lightness. For print, the CMYK equivalent is 45% cyan, 40% magenta, 0% yellow and 92% black.

White text is the more readable choice on this background (contrast 19.5:1).

Midnight Oil (#0B0C14) color codes

HEX#0B0C14
RGBrgb(11, 12, 20)
RGB percentrgb(4.3%, 4.7%, 7.8%)
HSLhsl(233, 29%, 6%)
HSV / HSBhsv(233, 45%, 8%)
CMYKcmyk(45%, 40%, 0%, 92%)
CIE LABlab(3.47, 1.24, -4.24)
CIE LCHlch(3.47, 4.41, 286.26)
CIE XYZxyz(0.396, 0.385, 0.715)
Decimal723988
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Midnight Oil, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #0B0C14RatioAAAAAAA large
Sample text1.08:1FailFailFail
Sample text19.5:1PassPassPass
#0B0C14 as text onRatioAAAAAAA large
Sample text19.5:1PassPassPass
Sample text1.08:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #0B0C14 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0b0c14; }
.text { color: #0b0c14; }
.border { border: 2px solid #0b0c14; }
.transparent { background-color: rgb(11 12 20 / 50%); }
.gradient { background: linear-gradient(to right, #0b0c14, #0f0b14); }
Background
Text color
Border

Similar colors

See #0B0C14 on its hex code page

Questions

What color is #0B0C14?
#0B0C14 is a very dark, desaturated blue known as Midnight Oil. It belongs to the black family of colors.
What is the RGB value of Midnight Oil?
The RGB value is 11, 12, 20: 11 red, 12 green and 20 blue on a 0 to 255 scale.
What is the complementary color of Midnight Oil?
The complementary color is #14130B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0B0C14?
White text. Black text has a contrast ratio of 1.08:1 and white text 19.5:1. WCAG asks for at least 4.5:1 for normal text.