#222E31 color
The hex color #222E31 is a very dark, grayish cyan.
In the RGB color model it is made of 13.3% red, 18% green and 19.2% blue (34, 46, 49).
Its hue angle is 192°, with 18% saturation and 16% lightness. For print, the CMYK equivalent is 31% cyan, 6% magenta, 0% yellow and 81% black.
The closest named color is Nightmare Fuel (#293135), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.97:1).
#222E31 color codes
| HEX | #222E31 | |
|---|---|---|
| RGB | rgb(34, 46, 49) | |
| RGB percent | rgb(13.3%, 18%, 19.2%) | |
| HSL | hsl(192, 18%, 16%) | |
| HSV / HSB | hsv(192, 31%, 19%) | |
| CMYK | cmyk(31%, 6%, 0%, 81%) | |
| CIE LAB | lab(17.99, -4.21, -3.6) | |
| CIE LCH | lch(17.99, 5.54, 220.52) | |
| CIE XYZ | xyz(2.191, 2.516, 3.275) | |
| Decimal | 2240049 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222E31, 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 #222E31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 13.97:1 | Pass | Pass | Pass |
| #222E31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.97:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #222E31 looks to people with the most common types of color vision deficiency.
#2c2d31Protanopia
no red cones#292b31Deuteranopia
no green cones#1d2f2fTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #222e31; }
.text { color: #222e31; }
.border { border: 2px solid #222e31; }
.transparent { background-color: rgb(34 46 49 / 50%); }
.gradient { background: linear-gradient(to right, #222e31, #222631); }
Similar colors
#293135Nightmare Fuel#2a3439Gunmetal#1e272cBlack Pearl#242a2eCinder#293432Aztec#262a2bGraphite Black#2f3434Phantom Ship#10252aSunken Ship
Questions
- What color is #222E31?
- #222E31 is a very dark, grayish cyan, closest to the named color Nightmare Fuel. It belongs to the black family of colors.
- What is the RGB value of #222E31?
- The RGB value is 34, 46, 49: 34 red, 46 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #222E31?
- The complementary color is #312522, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222E31?
- White text. Black text has a contrast ratio of 1.5:1 and white text 13.97:1. WCAG asks for at least 4.5:1 for normal text.