#212147 color

#212147 rgb(33, 33, 71)
Shades of blue

The hex color #212147 is a dark, desaturated blue.

In the RGB color model it is made of 12.9% red, 12.9% green and 27.8% blue (33, 33, 71).

Its hue angle is 240°, with 37% saturation and 20% lightness. For print, the CMYK equivalent is 54% cyan, 54% magenta, 0% yellow and 72% black.

The closest named color is Black Market (#222244), a difference of 1.3 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 15.29:1).

#212147 color codes

HEX#212147
RGBrgb(33, 33, 71)
RGB percentrgb(12.9%, 12.9%, 27.8%)
HSLhsl(240, 37%, 20%)
HSV / HSBhsv(240, 54%, 28%)
CMYKcmyk(54%, 54%, 0%, 72%)
CIE LABlab(14.77, 12.17, -23.89)
CIE LCHlch(14.77, 26.81, 297)
CIE XYZxyz(2.308, 1.866, 6.199)
Decimal2171207
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #212147, 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 #212147RatioAAAAAAA large
Sample text1.37:1FailFailFail
Sample text15.29:1PassPassPass
#212147 as text onRatioAAAAAAA large
Sample text15.29:1PassPassPass
Sample text1.37: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 #212147 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #212147; }
.text { color: #212147; }
.border { border: 2px solid #212147; }
.transparent { background-color: rgb(33 33 71 / 50%); }
.gradient { background: linear-gradient(to right, #212147, #342147); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #212147?
#212147 is a dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
What is the RGB value of #212147?
The RGB value is 33, 33, 71: 33 red, 33 green and 71 blue on a 0 to 255 scale.
What is the complementary color of #212147?
The complementary color is #474721, found by rotating the hue 180° on the color wheel.
Is black or white text better on #212147?
White text. Black text has a contrast ratio of 1.37:1 and white text 15.29:1. WCAG asks for at least 4.5:1 for normal text.