#021717 color
The hex color #021717 is a very dark, vivid cyan.
In the RGB color model it is made of 0.8% red, 9% green and 9% blue (2, 23, 23).
Its hue angle is 180°, with 84% saturation and 5% lightness. For print, the CMYK equivalent is 91% cyan, 0% magenta, 0% yellow and 91% black.
The closest named color is Black Stallion (#0E191C), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.46:1).
#021717 color codes
| HEX | #021717 | |
|---|---|---|
| RGB | rgb(2, 23, 23) | |
| RGB percent | rgb(0.8%, 9%, 9%) | |
| HSL | hsl(180, 84%, 5%) | |
| HSV / HSB | hsv(180, 91%, 9%) | |
| CMYK | cmyk(91%, 0%, 0%, 91%) | |
| CIE LAB | lab(6.21, -6.86, -2.42) | |
| CIE LCH | lch(6.21, 7.27, 199.41) | |
| CIE XYZ | xyz(0.486, 0.688, 0.918) | |
| Decimal | 136983 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #021717, 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 #021717 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.46:1 | Pass | Pass | Pass |
| #021717 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.46:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #021717 looks to people with the most common types of color vision deficiency.
#151517Protanopia
no red cones#111317Deuteranopia
no green cones#001817Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #021717; }
.text { color: #021717; }
.border { border: 2px solid #021717; }
.transparent { background-color: rgb(2 23 23 / 50%); }
.gradient { background: linear-gradient(to right, #021717, #020d17); }
Similar colors
#0e191cBlack Stallion#041108Jedi Night#10252aSunken Ship#162825Swamp Thing#020f03Blackn’t#001000Cosmic Bit Flip#0f282fBlack Box#091101Memorial Black
Closest common color name: Rich Black.
Questions
- What color is #021717?
- #021717 is a very dark, vivid cyan, closest to the named color Black Stallion. It belongs to the black family of colors.
- What is the RGB value of #021717?
- The RGB value is 2, 23, 23: 2 red, 23 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #021717?
- The complementary color is #170202, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #021717?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.46:1. WCAG asks for at least 4.5:1 for normal text.