About #222222
#222222 is a dark, neutral gray. It belongs to the gray family and reads as a neutral color. All three channels are equal (34), so it is a pure gray at 13.3% brightness with no hue at all. Colors like this are typically used for dark backgrounds, text, footers and dark-mode surfaces.
- It can be written in 3-digit shorthand as
#222.
Color conversions
| HEX | #222222 |
|---|---|
| Short HEX | #222 |
| RGB | rgb(34, 34, 34) |
| RGB percent | rgb(13.3%, 13.3%, 13.3%) |
| HSL | hsl(0, 0%, 13%) |
| HSV / HSB | hsv(0, 0%, 13%) |
| CMYK | cmyk(0%, 0%, 0%, 87%) |
| CIELAB (D65) | lab(13.2 0 0) |
| Decimal | 2236962 |
| Binary | 00100010 00100010 00100010 |
HEX 22 22 22 → 34, 34, 34 (each pair is a base-16 number: 2×16 + 2 = 34)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #222222
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #222222 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 15.91:1 | Pass | Pass | Pass | Pass |
| Black text | 1.32:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0160 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#222222
Deuteranopia#222222
Tritanopia#222222
Achromatopsia#222222
People with red–green color blindness see this color almost unchanged (ΔE 0 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| black | #000000 | 8 |
| darkslategray | #2f4f4f | 18.1 |
| dimgray | #696969 | 23.8 |
| midnightblue | #191970 | 25.6 |
Nearby colors
#332222less red
#112222more green
#223322less green
#221122more blue
#222233less blue
#222211lighter
#333333darker
#111111
CSS
.element {
color: #222222;
background-color: rgb(34, 34, 34);
border: 1px solid hsl(0, 0%, 13%);
box-shadow: 0 2px 8px rgb(34 34 34 / 50%);
}
:root { --brand: #222222; }