#151820 color

#151820 rgb(21, 24, 32)
Shades of black

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

In the RGB color model it is made of 8.2% red, 9.4% green and 12.5% blue (21, 24, 32).

Its hue angle is 224°, with 21% saturation and 10% lightness. For print, the CMYK equivalent is 34% cyan, 25% magenta, 0% yellow and 87% black.

The closest named color is Eigengrau (#16161D), a difference of 1.8 ΔE, which is barely visible.

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

#151820 color codes

HEX#151820
RGBrgb(21, 24, 32)
RGB percentrgb(8.2%, 9.4%, 12.5%)
HSLhsl(224, 21%, 10%)
HSV / HSBhsv(224, 34%, 13%)
CMYKcmyk(34%, 25%, 0%, 87%)
CIE LABlab(8.28, 0.99, -6.04)
CIE LCHlch(8.28, 6.12, 279.32)
CIE XYZxyz(0.897, 0.917, 1.496)
Decimal1382432
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #151820, 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 #151820RatioAAAAAAA large
Sample text1.18:1FailFailFail
Sample text17.75:1PassPassPass
#151820 as text onRatioAAAAAAA large
Sample text17.75:1PassPassPass
Sample text1.18: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 #151820 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #151820; }
.text { color: #151820; }
.border { border: 2px solid #151820; }
.transparent { background-color: rgb(21 24 32 / 50%); }
.gradient { background: linear-gradient(to right, #151820, #171520); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Black.

Questions

What color is #151820?
#151820 is a very dark, grayish blue, closest to the named color Eigengrau. It belongs to the black family of colors.
What is the RGB value of #151820?
The RGB value is 21, 24, 32: 21 red, 24 green and 32 blue on a 0 to 255 scale.
What is the complementary color of #151820?
The complementary color is #201D15, found by rotating the hue 180° on the color wheel.
Is black or white text better on #151820?
White text. Black text has a contrast ratio of 1.18:1 and white text 17.75:1. WCAG asks for at least 4.5:1 for normal text.