Midnight Black color: hex code #0B0C10

#0B0C10 rgb(11, 12, 16)
Shades of black

Midnight Black has the hex code #0B0C10. It is a very dark, grayish blue.

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

Its hue angle is 228°, with 19% saturation and 5% lightness. For print, the CMYK equivalent is 31% cyan, 25% magenta, 0% yellow and 94% black.

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

Midnight Black (#0B0C10) color codes

HEX#0B0C10
RGBrgb(11, 12, 16)
RGB percentrgb(4.3%, 4.7%, 6.3%)
HSLhsl(228, 19%, 5%)
HSV / HSBhsv(228, 31%, 6%)
CMYKcmyk(31%, 25%, 0%, 94%)
CIE LABlab(3.36, 0.41, -1.98)
CIE LCHlch(3.36, 2.02, 281.58)
CIE XYZxyz(0.363, 0.371, 0.543)
Decimal723984
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Midnight Black, 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 #0B0C10RatioAAAAAAA large
Sample text1.07:1FailFailFail
Sample text19.55:1PassPassPass
#0B0C10 as text onRatioAAAAAAA large
Sample text19.55:1PassPassPass
Sample text1.07: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 #0B0C10 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

See #0B0C10 on its hex code page

Questions

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