#212F49 color
The hex color #212F49 is a dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 18.4% green and 28.6% blue (33, 47, 73).
Its hue angle is 219°, with 38% saturation and 21% lightness. For print, the CMYK equivalent is 55% cyan, 36% magenta, 0% yellow and 71% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.4:1).
#212F49 color codes
| HEX | #212F49 | |
|---|---|---|
| RGB | rgb(33, 47, 73) | |
| RGB percent | rgb(12.9%, 18.4%, 28.6%) | |
| HSL | hsl(219, 38%, 21%) | |
| HSV / HSB | hsv(219, 55%, 29%) | |
| CMYK | cmyk(55%, 36%, 0%, 71%) | |
| CIE LAB | lab(19.38, 2.76, -17.96) | |
| CIE LCH | lch(19.38, 18.17, 278.75) | |
| CIE XYZ | xyz(2.846, 2.837, 6.7) | |
| Decimal | 2174793 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212F49, 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 #212F49 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.57:1 | Fail | Fail | Fail |
| Sample text | 13.4:1 | Pass | Pass | Pass |
| #212F49 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.4:1 | Pass | Pass | Pass |
| Sample text | 1.57: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 #212F49 looks to people with the most common types of color vision deficiency.
#25314aProtanopia
no red cones#212d48Deuteranopia
no green cones#103538Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #212f49; }
.text { color: #212f49; }
.border { border: 2px solid #212f49; }
.transparent { background-color: rgb(33 47 73 / 50%); }
.gradient { background: linear-gradient(to right, #212f49, #272149); }
Similar colors
#1c2841Eternal Darkness#0f2d4dMidnight Ocean#2e3858Mediaeval Blue#21263aMidnight Express#2b3458Midnight Escapade#273c5aNautilus#2c2e47Midnight Masquerade#1d2951Space Cadet
Closest common color name: Oxford Blue.
Questions
- What color is #212F49?
- #212F49 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 #212F49?
- The RGB value is 33, 47, 73: 33 red, 47 green and 73 blue on a 0 to 255 scale.
- What is the complementary color of #212F49?
- The complementary color is #493B21, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212F49?
- White text. Black text has a contrast ratio of 1.57:1 and white text 13.4:1. WCAG asks for at least 4.5:1 for normal text.