#212829 color
The hex color #212829 is a very dark, grayish cyan.
In the RGB color model it is made of 12.9% red, 15.7% green and 16.1% blue (33, 40, 41).
Its hue angle is 188°, with 11% saturation and 15% lightness. For print, the CMYK equivalent is 20% cyan, 2% magenta, 0% yellow and 84% black.
The closest named color is Graphite Black (#262A2B), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15:1).
#212829 color codes
| HEX | #212829 | |
|---|---|---|
| RGB | rgb(33, 40, 41) | |
| RGB percent | rgb(12.9%, 15.7%, 16.1%) | |
| HSL | hsl(188, 11%, 15%) | |
| HSV / HSB | hsv(188, 20%, 16%) | |
| CMYK | cmyk(20%, 2%, 0%, 84%) | |
| CIE LAB | lab(15.49, -2.81, -1.7) | |
| CIE LCH | lch(15.49, 3.28, 211.13) | |
| CIE XYZ | xyz(1.786, 2.001, 2.39) | |
| Decimal | 2172969 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #212829, 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 #212829 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 15:1 | Pass | Pass | Pass |
| #212829 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #212829 looks to people with the most common types of color vision deficiency.
#272729Protanopia
no red cones#252629Deuteranopia
no green cones#1f2928Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #212829; }
.text { color: #212829; }
.border { border: 2px solid #212829; }
.transparent { background-color: rgb(33 40 41 / 50%); }
.gradient { background: linear-gradient(to right, #212829, #212429); }
Similar colors
#262a2bGraphite Black#242a2eCinder#1e272cBlack Pearl#262926Bitter Liquorice#293135Nightmare Fuel#2f3434Phantom Ship#282828Dire Wolf#252525Nero
Closest common color name: Gunmetal.
Questions
- What color is #212829?
- #212829 is a very dark, grayish cyan, closest to the named color Graphite Black. It belongs to the black family of colors.
- What is the RGB value of #212829?
- The RGB value is 33, 40, 41: 33 red, 40 green and 41 blue on a 0 to 255 scale.
- What is the complementary color of #212829?
- The complementary color is #292221, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #212829?
- White text. Black text has a contrast ratio of 1.4:1 and white text 15:1. WCAG asks for at least 4.5:1 for normal text.