#212628 color
The hex color #212628 is a very dark, grayish azure.
In the RGB color model it is made of 12.9% red, 14.9% green and 15.7% blue (33, 38, 40).
Its hue angle is 197°, with 10% saturation and 14% lightness. For print, the CMYK equivalent is 18% cyan, 5% magenta, 0% yellow and 84% black.
The closest named color is Graphite Black (#262A2B), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.3:1).
#212628 color codes
| HEX | #212628 | |
|---|---|---|
| RGB | rgb(33, 38, 40) | |
| RGB percent | rgb(12.9%, 14.9%, 15.7%) | |
| HSL | hsl(197, 10%, 14%) | |
| HSV / HSB | hsv(197, 17%, 16%) | |
| CMYK | cmyk(18%, 5%, 0%, 84%) | |
| CIE LAB | lab(14.75, -1.7, -2.08) | |
| CIE LCH | lch(14.75, 2.69, 230.8) | |
| CIE XYZ | xyz(1.703, 1.863, 2.277) | |
| Decimal | 2172456 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212628, 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 #212628 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.37:1 | Fail | Fail | Fail |
| Sample text | 15.3:1 | Pass | Pass | Pass |
| #212628 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.3:1 | Pass | Pass | Pass |
| Sample text | 1.37: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 #212628 looks to people with the most common types of color vision deficiency.
#252628Protanopia
no red cones#242528Deuteranopia
no green cones#1f2727Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #212628; }
.text { color: #212628; }
.border { border: 2px solid #212628; }
.transparent { background-color: rgb(33 38 40 / 50%); }
.gradient { background: linear-gradient(to right, #212628, #212328); }
Similar colors
#262a2bGraphite Black#242a2eCinder#1e272cBlack Pearl#252525Nero#202124Noble Black#232323Young Night#282828Dire Wolf#1c1e21Satin Deep Black
Closest common color name: Gunmetal.
Questions
- What color is #212628?
- #212628 is a very dark, grayish azure, closest to the named color Graphite Black. It belongs to the black family of colors.
- What is the RGB value of #212628?
- The RGB value is 33, 38, 40: 33 red, 38 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #212628?
- The complementary color is #282321, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212628?
- White text. Black text has a contrast ratio of 1.37:1 and white text 15.3:1. WCAG asks for at least 4.5:1 for normal text.