#212542 color

#212542 rgb(33, 37, 66)
Shades of blue

The hex color #212542 is a very dark, desaturated blue.

In the RGB color model it is made of 12.9% red, 14.5% green and 25.9% blue (33, 37, 66).

Its hue angle is 233°, with 33% saturation and 19% lightness. For print, the CMYK equivalent is 50% cyan, 44% magenta, 0% yellow and 74% black.

The closest named color is Black Market (#222244), a difference of 2.5 ΔE, a small difference.

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

#212542 color codes

HEX#212542
RGBrgb(33, 37, 66)
RGB percentrgb(12.9%, 14.5%, 25.9%)
HSLhsl(233, 33%, 19%)
HSV / HSBhsv(233, 50%, 26%)
CMYKcmyk(50%, 44%, 0%, 74%)
CIE LABlab(15.69, 7.42, -18.96)
CIE LCHlch(15.69, 20.36, 291.36)
CIE XYZxyz(2.272, 2.04, 5.427)
Decimal2172226
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Oxford Blue.

Questions

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