#212152 color
The hex color #212152 is a dark, desaturated blue.
In the RGB color model it is made of 12.9% red, 12.9% green and 32.2% blue (33, 33, 82).
Its hue angle is 240°, with 43% saturation and 23% lightness. For print, the CMYK equivalent is 60% cyan, 60% magenta, 0% yellow and 68% black.
The closest named color is Spacescape (#222255), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.96:1).
#212152 color codes
| HEX | #212152 | |
|---|---|---|
| RGB | rgb(33, 33, 82) | |
| RGB percent | rgb(12.9%, 12.9%, 32.2%) | |
| HSL | hsl(240, 43%, 23%) | |
| HSV / HSB | hsv(240, 60%, 32%) | |
| CMYK | cmyk(60%, 60%, 0%, 68%) | |
| CIE LAB | lab(15.59, 16.27, -30.09) | |
| CIE LCH | lch(15.59, 34.21, 298.4) | |
| CIE XYZ | xyz(2.694, 2.02, 8.229) | |
| Decimal | 2171218 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212152, 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 #212152 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.96:1 | Pass | Pass | Pass |
| #212152 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.96:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #212152 looks to people with the most common types of color vision deficiency.
#032954Protanopia
no red cones#002551Deuteranopia
no green cones#092c35Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #212152; }
.text { color: #212152; }
.border { border: 2px solid #212152; }
.transparent { background-color: rgb(33 33 82 / 50%); }
.gradient { background: linear-gradient(to right, #212152, #3a2152); }
Similar colors
#222255Spacescape#1c1e4dFly-by-Night#231c4dSilent Orbit#211d49Azulado#2a2551Pāua#112255Dark Soul#112358Fibonacci Blue#2c2c57Deep Sea Base
Closest common color name: Oxford Blue.
Questions
- What color is #212152?
- #212152 is a dark, desaturated blue, closest to the named color Spacescape. It belongs to the blue family of colors.
- What is the RGB value of #212152?
- The RGB value is 33, 33, 82: 33 red, 33 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #212152?
- The complementary color is #525221, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212152?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.96:1. WCAG asks for at least 4.5:1 for normal text.