#222F31 color
The hex color #222F31 is a very dark, grayish cyan.
In the RGB color model it is made of 13.3% red, 18.4% green and 19.2% blue (34, 47, 49).
Its hue angle is 188°, with 18% saturation and 16% lightness. For print, the CMYK equivalent is 31% cyan, 4% magenta, 0% yellow and 81% black.
The closest named color is Aztec (#293432), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.83:1).
#222F31 color codes
| HEX | #222F31 | |
|---|---|---|
| RGB | rgb(34, 47, 49) | |
| RGB percent | rgb(13.3%, 18.4%, 19.2%) | |
| HSL | hsl(188, 18%, 16%) | |
| HSV / HSB | hsv(188, 31%, 19%) | |
| CMYK | cmyk(31%, 4%, 0%, 81%) | |
| CIE LAB | lab(18.34, -4.88, -3.07) | |
| CIE LCH | lch(18.34, 5.76, 212.22) | |
| CIE XYZ | xyz(2.23, 2.595, 3.288) | |
| Decimal | 2240305 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222F31, 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 #222F31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.83:1 | Pass | Pass | Pass |
| #222F31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.83:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #222F31 looks to people with the most common types of color vision deficiency.
#2d2e31Protanopia
no red cones#2a2c31Deuteranopia
no green cones#1d3030Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #222f31; }
.text { color: #222f31; }
.border { border: 2px solid #222f31; }
.transparent { background-color: rgb(34 47 49 / 50%); }
.gradient { background: linear-gradient(to right, #222f31, #222731); }
Similar colors
#293432Aztec#293135Nightmare Fuel#2a3439Gunmetal#1e272cBlack Pearl#2f3434Phantom Ship#242a2eCinder#10252aSunken Ship#262a2bGraphite Black
Questions
- What color is #222F31?
- #222F31 is a very dark, grayish cyan, closest to the named color Aztec. It belongs to the black family of colors.
- What is the RGB value of #222F31?
- The RGB value is 34, 47, 49: 34 red, 47 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #222F31?
- The complementary color is #312422, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222F31?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.83:1. WCAG asks for at least 4.5:1 for normal text.