#222431 color
The hex color #222431 is a very dark, grayish blue.
In the RGB color model it is made of 13.3% red, 14.1% green and 19.2% blue (34, 36, 49).
Its hue angle is 232°, with 18% saturation and 16% lightness. For print, the CMYK equivalent is 31% cyan, 27% magenta, 0% yellow and 81% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.39:1).
#222431 color codes
| HEX | #222431 | |
|---|---|---|
| RGB | rgb(34, 36, 49) | |
| RGB percent | rgb(13.3%, 14.1%, 19.2%) | |
| HSL | hsl(232, 18%, 16%) | |
| HSV / HSB | hsv(232, 31%, 19%) | |
| CMYK | cmyk(31%, 27%, 0%, 81%) | |
| CIE LAB | lab(14.53, 2.77, -8.82) | |
| CIE LCH | lch(14.53, 9.24, 287.41) | |
| CIE XYZ | xyz(1.845, 1.824, 3.16) | |
| Decimal | 2237489 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222431, 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 #222431 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.36:1 | Fail | Fail | Fail |
| Sample text | 15.39:1 | Pass | Pass | Pass |
| #222431 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.39:1 | Pass | Pass | Pass |
| Sample text | 1.36: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 #222431 looks to people with the most common types of color vision deficiency.
#202532Protanopia
no red cones#1f2431Deuteranopia
no green cones#1e2628Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #222431; }
.text { color: #222431; }
.border { border: 2px solid #222431; }
.transparent { background-color: rgb(34 36 49 / 50%); }
.gradient { background: linear-gradient(to right, #222431, #272231); }
Similar colors
#1e2433Moonless Mystery#222233Black Velvet#1f2133Eclipse Elixir#2c2a35Haiti#21263aMidnight Express#1b2431Dark#222831Infinity#29292fJaguar
Closest common color name: Midnight Black.
Questions
- What color is #222431?
- #222431 is a very dark, grayish blue, closest to the named color Moonless Mystery. It belongs to the black family of colors.
- What is the RGB value of #222431?
- The RGB value is 34, 36, 49: 34 red, 36 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #222431?
- The complementary color is #312F22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222431?
- White text. Black text has a contrast ratio of 1.36:1 and white text 15.39:1. WCAG asks for at least 4.5:1 for normal text.