#212152 color

#212152 rgb(33, 33, 82)
Shades of blue

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
RGBrgb(33, 33, 82)
RGB percentrgb(12.9%, 12.9%, 32.2%)
HSLhsl(240, 43%, 23%)
HSV / HSBhsv(240, 60%, 32%)
CMYKcmyk(60%, 60%, 0%, 68%)
CIE LABlab(15.59, 16.27, -30.09)
CIE LCHlch(15.59, 34.21, 298.4)
CIE XYZxyz(2.694, 2.02, 8.229)
Decimal2171218
Short hexNone (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 #212152RatioAAAAAAA large
Sample text1.4:1FailFailFail
Sample text14.96:1PassPassPass
#212152 as text onRatioAAAAAAA large
Sample text14.96:1PassPassPass
Sample text1.4:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.