#12111B color

#12111B rgb(18, 17, 27)
Shades of black

The hex color #12111B is a very dark, grayish blue.

In the RGB color model it is made of 7.1% red, 6.7% green and 10.6% blue (18, 17, 27).

Its hue angle is 246°, with 23% saturation and 9% lightness. For print, the CMYK equivalent is 33% cyan, 37% magenta, 0% yellow and 89% black.

The closest named color is Back in Black (#16141C), a difference of 1.3 ΔE, which is barely visible.

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

#12111B color codes

HEX#12111B
RGBrgb(18, 17, 27)
RGB percentrgb(7.1%, 6.7%, 10.6%)
HSLhsl(246, 23%, 9%)
HSV / HSBhsv(246, 37%, 11%)
CMYKcmyk(33%, 37%, 0%, 89%)
CIE LABlab(5.5, 2.84, -6.43)
CIE LCHlch(5.5, 7.03, 293.79)
CIE XYZxyz(0.648, 0.609, 1.12)
Decimal1184027
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #12111B, 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 #12111BRatioAAAAAAA large
Sample text1.12:1FailFailFail
Sample text18.72:1PassPassPass
#12111B as text onRatioAAAAAAA large
Sample text18.72:1PassPassPass
Sample text1.12: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 #12111B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #12111b; }
.text { color: #12111b; }
.border { border: 2px solid #12111b; }
.transparent { background-color: rgb(18 17 27 / 50%); }
.gradient { background: linear-gradient(to right, #12111b, #17111b); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #12111B?
#12111B is a very dark, grayish blue, closest to the named color Back in Black. It belongs to the black family of colors.
What is the RGB value of #12111B?
The RGB value is 18, 17, 27: 18 red, 17 green and 27 blue on a 0 to 255 scale.
What is the complementary color of #12111B?
The complementary color is #1A1B11, found by rotating the hue 180° on the color wheel.
Is black or white text better on #12111B?
White text. Black text has a contrast ratio of 1.12:1 and white text 18.72:1. WCAG asks for at least 4.5:1 for normal text.