#1D202B color
The hex color #1D202B is a very dark, grayish blue.
In the RGB color model it is made of 11.4% red, 12.5% green and 16.9% blue (29, 32, 43).
Its hue angle is 227°, with 19% saturation and 14% lightness. For print, the CMYK equivalent is 33% cyan, 26% magenta, 0% yellow and 83% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.23:1).
#1D202B color codes
| HEX | #1D202B | |
|---|---|---|
| RGB | rgb(29, 32, 43) | |
| RGB percent | rgb(11.4%, 12.5%, 16.9%) | |
| HSL | hsl(227, 19%, 14%) | |
| HSV / HSB | hsv(227, 33%, 17%) | |
| CMYK | cmyk(33%, 26%, 0%, 83%) | |
| CIE LAB | lab(12.41, 1.82, -7.8) | |
| CIE LCH | lch(12.41, 8.01, 283.15) | |
| CIE XYZ | xyz(1.459, 1.469, 2.492) | |
| Decimal | 1908779 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D202B, 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 #1D202B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.23:1 | Pass | Pass | Pass |
| #1D202B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.23:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #1D202B looks to people with the most common types of color vision deficiency.
#1d212cProtanopia
no red cones#1c202bDeuteranopia
no green cones#192224Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #1d202b; }
.text { color: #1d202b; }
.border { border: 2px solid #1d202b; }
.transparent { background-color: rgb(29 32 43 / 50%); }
.gradient { background: linear-gradient(to right, #1d202b, #211d2b); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#222831Infinity#16161dEigengrau#1f2133Eclipse Elixir#222233Black Velvet#29292fJaguar#2c2a35Haiti
Closest common color name: Midnight Black.
Questions
- What color is #1D202B?
- #1D202B is a very dark, grayish blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #1D202B?
- The RGB value is 29, 32, 43: 29 red, 32 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #1D202B?
- The complementary color is #2B281D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D202B?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.23:1. WCAG asks for at least 4.5:1 for normal text.