#151720 color
The hex color #151720 is a very dark, grayish blue.
In the RGB color model it is made of 8.2% red, 9% green and 12.5% blue (21, 23, 32).
Its hue angle is 229°, with 21% saturation and 10% lightness. For print, the CMYK equivalent is 34% cyan, 28% magenta, 0% yellow and 87% black.
The closest named color is Eigengrau (#16161D), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.87:1).
#151720 color codes
| HEX | #151720 | |
|---|---|---|
| RGB | rgb(21, 23, 32) | |
| RGB percent | rgb(8.2%, 9%, 12.5%) | |
| HSL | hsl(229, 21%, 10%) | |
| HSV / HSB | hsv(229, 34%, 13%) | |
| CMYK | cmyk(34%, 28%, 0%, 87%) | |
| CIE LAB | lab(7.92, 1.75, -6.59) | |
| CIE LCH | lch(7.92, 6.82, 284.88) | |
| CIE XYZ | xyz(0.876, 0.876, 1.489) | |
| Decimal | 1382176 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #151720, 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 #151720 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.87:1 | Pass | Pass | Pass |
| #151720 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.87: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 #151720 looks to people with the most common types of color vision deficiency.
#141820Protanopia
no red cones#141720Deuteranopia
no green cones#12191aTritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #151720; }
.text { color: #151720; }
.border { border: 2px solid #151720; }
.transparent { background-color: rgb(21 23 32 / 50%); }
.gradient { background: linear-gradient(to right, #151720, #181520); }
Similar colors
#16161dEigengrau#16141cBack in Black#0c121bMidnight Edition#0b0c14Midnight Oil#080813Narwhal Gray#1a161dViolet Void#060b14Dark Rift#17171aPiano Black
Closest common color name: Midnight Black.
Questions
- What color is #151720?
- #151720 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 #151720?
- The RGB value is 21, 23, 32: 21 red, 23 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #151720?
- The complementary color is #201E15, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #151720?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.87:1. WCAG asks for at least 4.5:1 for normal text.