#212E47 color
The hex color #212E47 is a dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 18% green and 27.8% blue (33, 46, 71).
Its hue angle is 219°, with 37% saturation and 20% lightness. For print, the CMYK equivalent is 54% cyan, 35% magenta, 0% yellow and 72% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.58:1).
#212E47 color codes
| HEX | #212E47 | |
|---|---|---|
| RGB | rgb(33, 46, 71) | |
| RGB percent | rgb(12.9%, 18%, 27.8%) | |
| HSL | hsl(219, 37%, 20%) | |
| HSV / HSB | hsv(219, 54%, 28%) | |
| CMYK | cmyk(54%, 35%, 0%, 72%) | |
| CIE LAB | lab(18.94, 2.74, -17.29) | |
| CIE LCH | lch(18.94, 17.51, 279.01) | |
| CIE XYZ | xyz(2.741, 2.732, 6.343) | |
| Decimal | 2174535 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212E47, 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 #212E47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.55:1 | Fail | Fail | Fail |
| Sample text | 13.58:1 | Pass | Pass | Pass |
| #212E47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.58:1 | Pass | Pass | Pass |
| Sample text | 1.55: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 #212E47 looks to people with the most common types of color vision deficiency.
#253048Protanopia
no red cones#202c46Deuteranopia
no green cones#113337Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #212e47; }
.text { color: #212e47; }
.border { border: 2px solid #212e47; }
.transparent { background-color: rgb(33 46 71 / 50%); }
.gradient { background: linear-gradient(to right, #212e47, #272147); }
Similar colors
#1c2841Eternal Darkness#21263aMidnight Express#0f2d4dMidnight Ocean#2e3858Mediaeval Blue#2c2e47Midnight Masquerade#2b3458Midnight Escapade#112244Dark Eclipse#273c5aNautilus
Closest common color name: Oxford Blue.
Questions
- What color is #212E47?
- #212E47 is a dark, desaturated azure, closest to the named color Eternal Darkness. It belongs to the blue family of colors.
- What is the RGB value of #212E47?
- The RGB value is 33, 46, 71: 33 red, 46 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #212E47?
- The complementary color is #473A21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212E47?
- White text. Black text has a contrast ratio of 1.55:1 and white text 13.58:1. WCAG asks for at least 4.5:1 for normal text.