#221F23 color

#221F23 rgb(34, 31, 35)
Shades of black

The hex color #221F23 is a dark gray.

In the RGB color model it is made of 13.3% red, 12.2% green and 13.7% blue (34, 31, 35).

Its hue angle is 285°, with 6% saturation and 13% lightness. For print, the CMYK equivalent is 3% cyan, 11% magenta, 0% yellow and 86% black.

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

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

#221F23 color codes

HEX#221F23
RGBrgb(34, 31, 35)
RGB percentrgb(13.3%, 12.2%, 13.7%)
HSLhsl(285, 6%, 13%)
HSV / HSBhsv(285, 11%, 14%)
CMYKcmyk(3%, 11%, 0%, 86%)
CIE LABlab(12.23, 2.41, -2.19)
CIE LCHlch(12.23, 3.26, 317.66)
CIE XYZxyz(1.453, 1.441, 1.791)
Decimal2236195
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #221f23; }
.text { color: #221f23; }
.border { border: 2px solid #221f23; }
.transparent { background-color: rgb(34 31 35 / 50%); }
.gradient { background: linear-gradient(to right, #221f23, #231f22); }
Background
Text color
Border

Similar colors

Closest common color name: Licorice.

Questions

What color is #221F23?
#221F23 is a dark gray, closest to the named color Ink Black. It belongs to the black family of colors.
What is the RGB value of #221F23?
The RGB value is 34, 31, 35: 34 red, 31 green and 35 blue on a 0 to 255 scale.
What is the complementary color of #221F23?
The complementary color is #20231F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #221F23?
White text. Black text has a contrast ratio of 1.29:1 and white text 16.3:1. WCAG asks for at least 4.5:1 for normal text.