#151820 color
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 | |
|---|---|---|
| RGB | rgb(21, 24, 32) | |
| RGB percent | rgb(8.2%, 9.4%, 12.5%) | |
| HSL | hsl(224, 21%, 10%) | |
| HSV / HSB | hsv(224, 34%, 13%) | |
| CMYK | cmyk(34%, 25%, 0%, 87%) | |
| CIE LAB | lab(8.28, 0.99, -6.04) | |
| CIE LCH | lch(8.28, 6.12, 279.32) | |
| CIE XYZ | xyz(0.897, 0.917, 1.496) | |
| Decimal | 1382432 | |
| Short hex | None (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 #151820 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.75:1 | Pass | Pass | Pass |
| #151820 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.75:1 | Pass | Pass | Pass |
| Sample text | 1.18:1 | Fail | Fail | Fail |
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.
#161920Protanopia
no red cones#151820Deuteranopia
no green cones#121a1bTritanopia
no blue cones#181818Achromatopsia
no color vision
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); }
Similar colors
#16161dEigengrau#0c121bMidnight Edition#16141cBack in Black#0b0c14Midnight Oil#17171aPiano Black#060b14Dark Rift#080813Narwhal Gray#1c1e21Satin Deep Black
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.