#22232A color
The hex color #22232A is a very dark, grayish blue.
In the RGB color model it is made of 13.3% red, 13.7% green and 16.5% blue (34, 35, 42).
Its hue angle is 232°, with 11% saturation and 15% lightness. For print, the CMYK equivalent is 19% cyan, 17% magenta, 0% yellow and 84% black.
The closest named color is Anthracite (#28282D), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.65:1).
#22232A color codes
| HEX | #22232A | |
|---|---|---|
| RGB | rgb(34, 35, 42) | |
| RGB percent | rgb(13.3%, 13.7%, 16.5%) | |
| HSL | hsl(232, 11%, 15%) | |
| HSV / HSB | hsv(232, 19%, 16%) | |
| CMYK | cmyk(19%, 17%, 0%, 84%) | |
| CIE LAB | lab(13.88, 1.41, -4.8) | |
| CIE LCH | lch(13.88, 5, 286.36) | |
| CIE XYZ | xyz(1.679, 1.709, 2.432) | |
| Decimal | 2237226 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #22232A, 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 #22232A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.65:1 | Pass | Pass | Pass |
| #22232A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.65:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #22232A looks to people with the most common types of color vision deficiency.
#21242aProtanopia
no red cones#21232aDeuteranopia
no green cones#202425Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #22232a; }
.text { color: #22232a; }
.border { border: 2px solid #22232a; }
.transparent { background-color: rgb(34 35 42 / 50%); }
.gradient { background: linear-gradient(to right, #22232a, #25222a); }
Similar colors
#28282dAnthracite#29292fJaguar#27252aDarth Vader#292b31Night Sky#202124Noble Black#1e1e21Inkwell Inception#222831Infinity#1c1e21Satin Deep Black
Closest common color name: Midnight Black.
Questions
- What color is #22232A?
- #22232A is a very dark, grayish blue, closest to the named color Anthracite. It belongs to the black family of colors.
- What is the RGB value of #22232A?
- The RGB value is 34, 35, 42: 34 red, 35 green and 42 blue on a 0 to 255 scale.
- What is the complementary color of #22232A?
- The complementary color is #2A2922, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #22232A?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.65:1. WCAG asks for at least 4.5:1 for normal text.