#212231 color

#212231 rgb(33, 34, 49)
Shades of black

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

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

Its hue angle is 236°, with 20% saturation and 16% lightness. For print, the CMYK equivalent is 33% cyan, 31% magenta, 0% yellow and 81% black.

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

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

#212231 color codes

HEX#212231
RGBrgb(33, 34, 49)
RGB percentrgb(12.9%, 13.3%, 19.2%)
HSLhsl(236, 20%, 16%)
HSV / HSBhsv(236, 33%, 19%)
CMYKcmyk(33%, 31%, 0%, 81%)
CIE LABlab(13.76, 3.83, -10.01)
CIE LCHlch(13.76, 10.72, 290.93)
CIE XYZxyz(1.753, 1.689, 3.139)
Decimal2171441
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Midnight Black.

Questions

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