#212F56 color
The hex color #212F56 is a dark, desaturated blue.
In the RGB color model it is made of 12.9% red, 18.4% green and 33.7% blue (33, 47, 86).
Its hue angle is 224°, with 45% saturation and 23% lightness. For print, the CMYK equivalent is 62% cyan, 45% magenta, 0% yellow and 66% black.
The closest named color is Space Cadet (#1D2951), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.08:1).
#212F56 color codes
| HEX | #212F56 | |
|---|---|---|
| RGB | rgb(33, 47, 86) | |
| RGB percent | rgb(12.9%, 18.4%, 33.7%) | |
| HSL | hsl(224, 45%, 23%) | |
| HSV / HSB | hsv(224, 62%, 34%) | |
| CMYK | cmyk(62%, 45%, 0%, 66%) | |
| CIE LAB | lab(20.16, 7.65, -25.46) | |
| CIE LCH | lch(20.16, 26.59, 286.72) | |
| CIE XYZ | xyz(3.323, 3.028, 9.212) | |
| Decimal | 2174806 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212F56, 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 #212F56 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.08:1 | Pass | Pass | Pass |
| #212F56 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.08:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #212F56 looks to people with the most common types of color vision deficiency.
#1e3358Protanopia
no red cones#172e55Deuteranopia
no green cones#01383eTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #212f56; }
.text { color: #212f56; }
.border { border: 2px solid #212f56; }
.transparent { background-color: rgb(33 47 86 / 50%); }
.gradient { background: linear-gradient(to right, #212f56, #2e2156); }
Similar colors
#1d2951Space Cadet#2b3458Midnight Escapade#1c2e63Mythical Night#2e3858Mediaeval Blue#2e305eGalaxea#2c2c57Deep Sea Base#112244Dark Eclipse#042e60Marine
Closest common color name: Oxford Blue.
Questions
- What color is #212F56?
- #212F56 is a dark, desaturated blue, closest to the named color Space Cadet. It belongs to the blue family of colors.
- What is the RGB value of #212F56?
- The RGB value is 33, 47, 86: 33 red, 47 green and 86 blue on a 0 to 255 scale.
- What is the complementary color of #212F56?
- The complementary color is #564821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212F56?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.08:1. WCAG asks for at least 4.5:1 for normal text.