#213152 color
The hex color #213152 is a dark, desaturated blue.
In the RGB color model it is made of 12.9% red, 19.2% green and 32.2% blue (33, 49, 82).
Its hue angle is 220°, with 43% saturation and 23% lightness. For print, the CMYK equivalent is 60% cyan, 40% magenta, 0% yellow and 68% black.
The closest named color is Midnight Escapade (#2B3458), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.92:1).
#213152 color codes
| HEX | #213152 | |
|---|---|---|
| RGB | rgb(33, 49, 82) | |
| RGB percent | rgb(12.9%, 19.2%, 32.2%) | |
| HSL | hsl(220, 43%, 23%) | |
| HSV / HSB | hsv(220, 60%, 32%) | |
| CMYK | cmyk(60%, 40%, 0%, 68%) | |
| CIE LAB | lab(20.55, 4.7, -22.16) | |
| CIE LCH | lch(20.55, 22.66, 281.97) | |
| CIE XYZ | xyz(3.248, 3.129, 8.414) | |
| Decimal | 2175314 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #213152, 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 #213152 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.92:1 | Pass | Pass | Pass |
| #213152 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.92:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #213152 looks to people with the most common types of color vision deficiency.
#243453Protanopia
no red cones#1e2f51Deuteranopia
no green cones#05383dTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #213152; }
.text { color: #213152; }
.border { border: 2px solid #213152; }
.transparent { background-color: rgb(33 49 82 / 50%); }
.gradient { background: linear-gradient(to right, #213152, #2a2152); }
Similar colors
#2b3458Midnight Escapade#2e3858Mediaeval Blue#1d2951Space Cadet#0f2d4dMidnight Ocean#1c2841Eternal Darkness#273c5aNautilus#112244Dark Eclipse#042e60Marine
Closest common color name: Oxford Blue.
Questions
- What color is #213152?
- #213152 is a dark, desaturated blue, closest to the named color Midnight Escapade. It belongs to the blue family of colors.
- What is the RGB value of #213152?
- The RGB value is 33, 49, 82: 33 red, 49 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #213152?
- The complementary color is #524221, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #213152?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.92:1. WCAG asks for at least 4.5:1 for normal text.