#1D212F color
The hex color #1D212F is a very dark, grayish blue.
In the RGB color model it is made of 11.4% red, 12.9% green and 18.4% blue (29, 33, 47).
Its hue angle is 227°, with 24% saturation and 15% lightness. For print, the CMYK equivalent is 38% cyan, 30% magenta, 0% yellow and 82% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.02:1).
#1D212F color codes
| HEX | #1D212F | |
|---|---|---|
| RGB | rgb(29, 33, 47) | |
| RGB percent | rgb(11.4%, 12.9%, 18.4%) | |
| HSL | hsl(227, 24%, 15%) | |
| HSV / HSB | hsv(227, 38%, 18%) | |
| CMYK | cmyk(38%, 30%, 0%, 82%) | |
| CIE LAB | lab(12.95, 2.39, -9.86) | |
| CIE LCH | lch(12.95, 10.15, 283.6) | |
| CIE XYZ | xyz(1.563, 1.554, 2.906) | |
| Decimal | 1909039 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1D212F, 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 #1D212F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.02:1 | Pass | Pass | Pass |
| #1D212F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.02:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #1D212F looks to people with the most common types of color vision deficiency.
#1d2230Protanopia
no red cones#1b212fDeuteranopia
no green cones#182426Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #1d212f; }
.text { color: #1d212f; }
.border { border: 2px solid #1d212f; }
.transparent { background-color: rgb(29 33 47 / 50%); }
.gradient { background: linear-gradient(to right, #1d212f, #221d2f); }
Similar colors
#1e2433Moonless Mystery#1f2133Eclipse Elixir#222233Black Velvet#1b2431Dark#21263aMidnight Express#161e34Sombre Night#222831Infinity#0e1d32Trapped Darkness
Closest common color name: Rich Black.
Questions
- What color is #1D212F?
- #1D212F 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 #1D212F?
- The RGB value is 29, 33, 47: 29 red, 33 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #1D212F?
- The complementary color is #2F2B1D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1D212F?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.02:1. WCAG asks for at least 4.5:1 for normal text.