#22231F color
The hex color #22231F is a dark gray.
In the RGB color model it is made of 13.3% red, 13.7% green and 12.2% blue (34, 35, 31).
Its hue angle is 75°, with 6% saturation and 13% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 11% yellow and 86% black.
The closest named color is Bitter Liquorice (#262926), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.81:1).
#22231F color codes
| HEX | #22231F | |
|---|---|---|
| RGB | rgb(34, 35, 31) | |
| RGB percent | rgb(13.3%, 13.7%, 12.2%) | |
| HSL | hsl(75, 6%, 13%) | |
| HSV / HSB | hsv(75, 11%, 14%) | |
| CMYK | cmyk(3%, 0%, 11%, 86%) | |
| CIE LAB | lab(13.48, -1.42, 2.53) | |
| CIE LCH | lch(13.48, 2.9, 119.37) | |
| CIE XYZ | xyz(1.508, 1.641, 1.533) | |
| Decimal | 2237215 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22231F, 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 #22231F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.81:1 | Pass | Pass | Pass |
| #22231F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.81:1 | Pass | Pass | Pass |
| Sample text | 1.33:1 | Fail | Fail | Fail |
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 #22231F looks to people with the most common types of color vision deficiency.
#24231fProtanopia
no red cones#23231fDeuteranopia
no green cones#222322Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #22231f; }
.text { color: #22231f; }
.border { border: 2px solid #22231f; }
.transparent { background-color: rgb(34 35 31 / 50%); }
.gradient { background: linear-gradient(to right, #22231f, #20231f); }
Similar colors
#262926Bitter Liquorice#1c1c1aCoco’s Black#232323Young Night#212121Lead#252525Nero#191916Twilight Zone#1e231cUnderworld#282828Dire Wolf
Closest common color name: Jet Black.
Questions
- What color is #22231F?
- #22231F is a dark gray, closest to the named color Bitter Liquorice. It belongs to the black family of colors.
- What is the RGB value of #22231F?
- The RGB value is 34, 35, 31: 34 red, 35 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #22231F?
- The complementary color is #201F23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22231F?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.81:1. WCAG asks for at least 4.5:1 for normal text.