#222A2A color
The hex color #222A2A is a very dark, grayish cyan.
In the RGB color model it is made of 13.3% red, 16.5% green and 16.5% blue (34, 42, 42).
Its hue angle is 180°, with 11% saturation and 15% lightness. For print, the CMYK equivalent is 19% cyan, 0% magenta, 0% yellow and 84% black.
The closest named color is Graphite Black (#262A2B), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.66:1).
#222A2A color codes
| HEX | #222A2A | |
|---|---|---|
| RGB | rgb(34, 42, 42) | |
| RGB percent | rgb(13.3%, 16.5%, 16.5%) | |
| HSL | hsl(180, 11%, 15%) | |
| HSV / HSB | hsv(180, 19%, 16%) | |
| CMYK | cmyk(19%, 0%, 0%, 84%) | |
| CIE LAB | lab(16.32, -3.49, -1.17) | |
| CIE LCH | lch(16.32, 3.68, 198.6) | |
| CIE XYZ | xyz(1.905, 2.163, 2.507) | |
| Decimal | 2239018 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222A2A, 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 #222A2A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.43:1 | Fail | Fail | Fail |
| Sample text | 14.66:1 | Pass | Pass | Pass |
| #222A2A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.66:1 | Pass | Pass | Pass |
| Sample text | 1.43: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 #222A2A looks to people with the most common types of color vision deficiency.
#29292aProtanopia
no red cones#27282aDeuteranopia
no green cones#202b2aTritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #222a2a; }
.text { color: #222a2a; }
.border { border: 2px solid #222a2a; }
.transparent { background-color: rgb(34 42 42 / 50%); }
.gradient { background: linear-gradient(to right, #222a2a, #22262a); }
Similar colors
#262a2bGraphite Black#262926Bitter Liquorice#242a2eCinder#1e272cBlack Pearl#293135Nightmare Fuel#293432Aztec#2f3434Phantom Ship#2b322dTerminal Black
Closest common color name: Gunmetal.
Questions
- What color is #222A2A?
- #222A2A is a very dark, grayish cyan, closest to the named color Graphite Black. It belongs to the black family of colors.
- What is the RGB value of #222A2A?
- The RGB value is 34, 42, 42: 34 red, 42 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #222A2A?
- The complementary color is #2A2222, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222A2A?
- White text. Black text has a contrast ratio of 1.43:1 and white text 14.66:1. WCAG asks for at least 4.5:1 for normal text.