#21282E color
The hex color #21282E is a very dark, grayish azure.
In the RGB color model it is made of 12.9% red, 15.7% green and 18% blue (33, 40, 46).
Its hue angle is 208°, with 16% saturation and 15% lightness. For print, the CMYK equivalent is 28% cyan, 13% magenta, 0% yellow and 82% black.
The closest named color is Cinder (#242A2E), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.92:1).
#21282E color codes
| HEX | #21282E | |
|---|---|---|
| RGB | rgb(33, 40, 46) | |
| RGB percent | rgb(12.9%, 15.7%, 18%) | |
| HSL | hsl(208, 16%, 15%) | |
| HSV / HSB | hsv(208, 28%, 18%) | |
| CMYK | cmyk(28%, 13%, 0%, 82%) | |
| CIE LAB | lab(15.69, -1.38, -4.95) | |
| CIE LCH | lch(15.69, 5.14, 254.41) | |
| CIE XYZ | xyz(1.879, 2.038, 2.879) | |
| Decimal | 2172974 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #21282E, 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 #21282E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.92:1 | Pass | Pass | Pass |
| #21282E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.92:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #21282E looks to people with the most common types of color vision deficiency.
#26282eProtanopia
no red cones#24262eDeuteranopia
no green cones#1d292aTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #21282e; }
.text { color: #21282e; }
.border { border: 2px solid #21282e; }
.transparent { background-color: rgb(33 40 46 / 50%); }
.gradient { background: linear-gradient(to right, #21282e, #21212e); }
Similar colors
#242a2eCinder#1e272cBlack Pearl#222831Infinity#292b31Night Sky#293135Nightmare Fuel#262a2bGraphite Black#2b2c30Caviar#202124Noble Black
Closest common color name: Gunmetal.
Questions
- What color is #21282E?
- #21282E is a very dark, grayish azure, closest to the named color Cinder. It belongs to the black family of colors.
- What is the RGB value of #21282E?
- The RGB value is 33, 40, 46: 33 red, 40 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #21282E?
- The complementary color is #2E2721, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #21282E?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.92:1. WCAG asks for at least 4.5:1 for normal text.