#222532 color
The hex color #222532 is a very dark, grayish blue.
In the RGB color model it is made of 13.3% red, 14.5% green and 19.6% blue (34, 37, 50).
Its hue angle is 229°, with 19% saturation and 16% lightness. For print, the CMYK equivalent is 32% cyan, 26% magenta, 0% yellow and 80% black.
The closest named color is Moonless Mystery (#1E2433), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.23:1).
#222532 color codes
| HEX | #222532 | |
|---|---|---|
| RGB | rgb(34, 37, 50) | |
| RGB percent | rgb(13.3%, 14.5%, 19.6%) | |
| HSL | hsl(229, 19%, 16%) | |
| HSV / HSB | hsv(229, 32%, 20%) | |
| CMYK | cmyk(32%, 26%, 0%, 80%) | |
| CIE LAB | lab(14.92, 2.36, -8.94) | |
| CIE LCH | lch(14.92, 9.24, 284.77) | |
| CIE XYZ | xyz(1.897, 1.893, 3.283) | |
| Decimal | 2237746 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #222532, 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 #222532 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.23:1 | Pass | Pass | Pass |
| #222532 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.23:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #222532 looks to people with the most common types of color vision deficiency.
#212633Protanopia
no red cones#202532Deuteranopia
no green cones#1e2729Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #222532; }
.text { color: #222532; }
.border { border: 2px solid #222532; }
.transparent { background-color: rgb(34 37 50 / 50%); }
.gradient { background: linear-gradient(to right, #222532, #272232); }
Similar colors
#1e2433Moonless Mystery#1f2133Eclipse Elixir#222233Black Velvet#1b2431Dark#2c2a35Haiti#21263aMidnight Express#222831Infinity#29292fJaguar
Closest common color name: Gunmetal.
Questions
- What color is #222532?
- #222532 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 #222532?
- The RGB value is 34, 37, 50: 34 red, 37 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #222532?
- The complementary color is #322F22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #222532?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.23:1. WCAG asks for at least 4.5:1 for normal text.