#212D3E color
The hex color #212D3E is a very dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 17.6% green and 24.3% blue (33, 45, 62).
Its hue angle is 215°, with 31% saturation and 19% lightness. For print, the CMYK equivalent is 47% cyan, 27% magenta, 0% yellow and 76% black.
The closest named color is Dark (#1B2431), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.91:1).
#212D3E color codes
| HEX | #212D3E | |
|---|---|---|
| RGB | rgb(33, 45, 62) | |
| RGB percent | rgb(12.9%, 17.6%, 24.3%) | |
| HSL | hsl(215, 31%, 19%) | |
| HSV / HSB | hsv(215, 47%, 24%) | |
| CMYK | cmyk(47%, 27%, 0%, 76%) | |
| CIE LAB | lab(18.13, 0.27, -12.39) | |
| CIE LCH | lch(18.13, 12.39, 271.24) | |
| CIE XYZ | xyz(2.435, 2.548, 4.92) | |
| Decimal | 2174270 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212D3E, 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 #212D3E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.91:1 | Pass | Pass | Pass |
| #212D3E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.91:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #212D3E looks to people with the most common types of color vision deficiency.
#272e3fProtanopia
no red cones#232b3eDeuteranopia
no green cones#173133Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #212d3e; }
.text { color: #212d3e; }
.border { border: 2px solid #212d3e; }
.transparent { background-color: rgb(33 45 62 / 50%); }
.gradient { background: linear-gradient(to right, #212d3e, #24213e); }
Similar colors
#1b2431Dark#1e2433Moonless Mystery#303543Total Eclipse#222831Infinity#1c2841Eternal Darkness#102030The Count’s Black#21263aMidnight Express#1e3442Blue Whale
Closest common color name: Prussian Blue.
Questions
- What color is #212D3E?
- #212D3E is a very dark, desaturated azure, closest to the named color Dark. It belongs to the gray family of colors.
- What is the RGB value of #212D3E?
- The RGB value is 33, 45, 62: 33 red, 45 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #212D3E?
- The complementary color is #3E3221, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212D3E?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.91:1. WCAG asks for at least 4.5:1 for normal text.