#212C3E color
The hex color #212C3E is a very dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 17.3% green and 24.3% blue (33, 44, 62).
Its hue angle is 217°, with 31% saturation and 19% lightness. For print, the CMYK equivalent is 47% cyan, 29% magenta, 0% yellow and 76% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.05:1).
#212C3E color codes
| HEX | #212C3E | |
|---|---|---|
| RGB | rgb(33, 44, 62) | |
| RGB percent | rgb(12.9%, 17.3%, 24.3%) | |
| HSL | hsl(217, 31%, 19%) | |
| HSV / HSB | hsv(217, 47%, 24%) | |
| CMYK | cmyk(47%, 29%, 0%, 76%) | |
| CIE LAB | lab(17.79, 0.97, -12.91) | |
| CIE LCH | lch(17.79, 12.95, 274.29) | |
| CIE XYZ | xyz(2.397, 2.472, 4.907) | |
| Decimal | 2174014 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212C3E, 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 #212C3E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.49:1 | Fail | Fail | Fail |
| Sample text | 14.05:1 | Pass | Pass | Pass |
| #212C3E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.05:1 | Pass | Pass | Pass |
| Sample text | 1.49: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 #212C3E looks to people with the most common types of color vision deficiency.
#262d3fProtanopia
no red cones#222a3eDeuteranopia
no green cones#173032Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #212c3e; }
.text { color: #212c3e; }
.border { border: 2px solid #212c3e; }
.transparent { background-color: rgb(33 44 62 / 50%); }
.gradient { background: linear-gradient(to right, #212c3e, #25213e); }
Similar colors
#1e2433Moonless Mystery#1b2431Dark#1c2841Eternal Darkness#21263aMidnight Express#303543Total Eclipse#102030The Count’s Black#222831Infinity#0e1d32Trapped Darkness
Closest common color name: Prussian Blue.
Questions
- What color is #212C3E?
- #212C3E is a very dark, desaturated azure, closest to the named color Moonless Mystery. It belongs to the gray family of colors.
- What is the RGB value of #212C3E?
- The RGB value is 33, 44, 62: 33 red, 44 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #212C3E?
- The complementary color is #3E3321, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212C3E?
- White text. Black text has a contrast ratio of 1.49:1 and white text 14.05:1. WCAG asks for at least 4.5:1 for normal text.