#202228 color
The hex color #202228 is a very dark, grayish blue.
In the RGB color model it is made of 12.5% red, 13.3% green and 15.7% blue (32, 34, 40).
Its hue angle is 225°, with 11% saturation and 14% lightness. For print, the CMYK equivalent is 20% cyan, 15% magenta, 0% yellow and 84% black.
The closest named color is Noble Black (#202124), a difference of 2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.9:1).
#202228 color codes
| HEX | #202228 | |
|---|---|---|
| RGB | rgb(32, 34, 40) | |
| RGB percent | rgb(12.5%, 13.3%, 15.7%) | |
| HSL | hsl(225, 11%, 14%) | |
| HSV / HSB | hsv(225, 20%, 16%) | |
| CMYK | cmyk(20%, 15%, 0%, 84%) | |
| CIE LAB | lab(13.26, 0.71, -4.32) | |
| CIE LCH | lch(13.26, 4.38, 279.29) | |
| CIE XYZ | xyz(1.551, 1.604, 2.235) | |
| Decimal | 2105896 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #202228, 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 #202228 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.9:1 | Pass | Pass | Pass |
| #202228 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.9:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #202228 looks to people with the most common types of color vision deficiency.
#202228Protanopia
no red cones#202228Deuteranopia
no green cones#1e2324Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #202228; }
.text { color: #202228; }
.border { border: 2px solid #202228; }
.transparent { background-color: rgb(32 34 40 / 50%); }
.gradient { background: linear-gradient(to right, #202228, #222028); }
Similar colors
#202124Noble Black#1e1e21Inkwell Inception#28282dAnthracite#1c1e21Satin Deep Black#29292fJaguar#27252aDarth Vader#292b31Night Sky#222831Infinity
Closest common color name: Midnight Black.
Questions
- What color is #202228?
- #202228 is a very dark, grayish blue, closest to the named color Noble Black. It belongs to the black family of colors.
- What is the RGB value of #202228?
- The RGB value is 32, 34, 40: 32 red, 34 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #202228?
- The complementary color is #282620, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #202228?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.9:1. WCAG asks for at least 4.5:1 for normal text.