#131821 color
The hex color #131821 is a very dark, desaturated azure.
In the RGB color model it is made of 7.5% red, 9.4% green and 12.9% blue (19, 24, 33).
Its hue angle is 219°, with 27% saturation and 10% lightness. For print, the CMYK equivalent is 42% cyan, 27% magenta, 0% yellow and 87% black.
The closest named color is Midnight Edition (#0C121B), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.79:1).
#131821 color codes
| HEX | #131821 | |
|---|---|---|
| RGB | rgb(19, 24, 33) | |
| RGB percent | rgb(7.5%, 9.4%, 12.9%) | |
| HSL | hsl(219, 27%, 10%) | |
| HSV / HSB | hsv(219, 42%, 13%) | |
| CMYK | cmyk(42%, 27%, 0%, 87%) | |
| CIE LAB | lab(8.14, 0.52, -7.02) | |
| CIE LCH | lch(8.14, 7.04, 274.2) | |
| CIE XYZ | xyz(0.87, 0.901, 1.567) | |
| Decimal | 1251361 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #131821, 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 #131821 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.79:1 | Pass | Pass | Pass |
| #131821 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.79: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 #131821 looks to people with the most common types of color vision deficiency.
#151921Protanopia
no red cones#141721Deuteranopia
no green cones#0f1a1bTritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #131821; }
.text { color: #131821; }
.border { border: 2px solid #131821; }
.transparent { background-color: rgb(19 24 33 / 50%); }
.gradient { background: linear-gradient(to right, #131821, #151321); }
Similar colors
#0c121bMidnight Edition#16161dEigengrau#060b14Dark Rift#0b0c14Midnight Oil#16141cBack in Black#17171aPiano Black#1b2431Dark#080813Narwhal Gray
Closest common color name: Rich Black.
Questions
- What color is #131821?
- #131821 is a very dark, desaturated azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #131821?
- The RGB value is 19, 24, 33: 19 red, 24 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #131821?
- The complementary color is #211C13, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #131821?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.79:1. WCAG asks for at least 4.5:1 for normal text.