#212F47 color
The hex color #212F47 is a dark, desaturated azure.
In the RGB color model it is made of 12.9% red, 18.4% green and 27.8% blue (33, 47, 71).
Its hue angle is 218°, with 37% saturation and 20% lightness. For print, the CMYK equivalent is 54% cyan, 34% magenta, 0% yellow and 72% black.
The closest named color is Eternal Darkness (#1C2841), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.44:1).
#212F47 color codes
| HEX | #212F47 | |
|---|---|---|
| RGB | rgb(33, 47, 71) | |
| RGB percent | rgb(12.9%, 18.4%, 27.8%) | |
| HSL | hsl(218, 37%, 20%) | |
| HSV / HSB | hsv(218, 54%, 28%) | |
| CMYK | cmyk(54%, 34%, 0%, 72%) | |
| CIE LAB | lab(19.27, 2.04, -16.77) | |
| CIE LCH | lch(19.27, 16.9, 276.92) | |
| CIE XYZ | xyz(2.781, 2.811, 6.356) | |
| Decimal | 2174791 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212F47, 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 #212F47 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.44:1 | Pass | Pass | Pass |
| #212F47 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.44:1 | Pass | Pass | Pass |
| Sample text | 1.56: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 #212F47 looks to people with the most common types of color vision deficiency.
#263148Protanopia
no red cones#222d46Deuteranopia
no green cones#113438Tritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #212f47; }
.text { color: #212f47; }
.border { border: 2px solid #212f47; }
.transparent { background-color: rgb(33 47 71 / 50%); }
.gradient { background: linear-gradient(to right, #212f47, #262147); }
Similar colors
#1c2841Eternal Darkness#0f2d4dMidnight Ocean#21263aMidnight Express#273c5aNautilus#2e3858Mediaeval Blue#1e2433Moonless Mystery#303543Total Eclipse#2c2e47Midnight Masquerade
Closest common color name: Prussian Blue.
Questions
- What color is #212F47?
- #212F47 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 #212F47?
- The RGB value is 33, 47, 71: 33 red, 47 green and 71 blue on a 0 to 255 scale.
- What is the complementary color of #212F47?
- The complementary color is #473921, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212F47?
- White text. Black text has a contrast ratio of 1.56:1 and white text 13.44:1. WCAG asks for at least 4.5:1 for normal text.