#212234 color

#212234 rgb(33, 34, 52)
Shades of gray

The hex color #212234 is a very dark, grayish blue.

In the RGB color model it is made of 12.9% red, 13.3% green and 20.4% blue (33, 34, 52).

Its hue angle is 237°, with 22% saturation and 17% lightness. For print, the CMYK equivalent is 37% cyan, 35% magenta, 0% yellow and 80% black.

The closest named color is Black Velvet (#222233), a difference of 0.6 ΔE, which is barely visible.

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

#212234 color codes

HEX#212234
RGBrgb(33, 34, 52)
RGB percentrgb(12.9%, 13.3%, 20.4%)
HSLhsl(237, 22%, 17%)
HSV / HSBhsv(237, 37%, 20%)
CMYKcmyk(37%, 35%, 0%, 80%)
CIE LABlab(13.92, 4.79, -11.91)
CIE LCHlch(13.92, 12.84, 291.91)
CIE XYZxyz(1.819, 1.715, 3.483)
Decimal2171444
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #212234?
#212234 is a very dark, grayish blue, closest to the named color Black Velvet. It belongs to the gray family of colors.
What is the RGB value of #212234?
The RGB value is 33, 34, 52: 33 red, 34 green and 52 blue on a 0 to 255 scale.
What is the complementary color of #212234?
The complementary color is #343321, found by rotating the hue 180° on the color wheel.
Is black or white text better on #212234?
White text. Black text has a contrast ratio of 1.34:1 and white text 15.64:1. WCAG asks for at least 4.5:1 for normal text.