#021008 color
The hex color #021008 is a black.
In the RGB color model it is made of 0.8% red, 6.3% green and 3.1% blue (2, 16, 8).
Its hue angle is 146°, with 78% saturation and 4% lightness. For print, the CMYK equivalent is 88% cyan, 0% magenta, 50% yellow and 94% black.
The closest named color is Jedi Night (#041108), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.44:1).
#021008 color codes
| HEX | #021008 | |
|---|---|---|
| RGB | rgb(2, 16, 8) | |
| RGB percent | rgb(0.8%, 6.3%, 3.1%) | |
| HSL | hsl(146, 78%, 4%) | |
| HSV / HSB | hsv(146, 88%, 6%) | |
| CMYK | cmyk(88%, 0%, 50%, 94%) | |
| CIE LAB | lab(3.62, -5.2, 2.04) | |
| CIE LCH | lch(3.62, 5.59, 158.55) | |
| CIE XYZ | xyz(0.254, 0.401, 0.294) | |
| Decimal | 135176 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #021008, 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 #021008 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.44:1 | Pass | Pass | Pass |
| #021008 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.44:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #021008 looks to people with the most common types of color vision deficiency.
#100e08Protanopia
no red cones#0d0c08Deuteranopia
no green cones#00100eTritanopia
no blue cones#0d0d0dAchromatopsia
no color vision
CSS examples
.background { background-color: #021008; }
.text { color: #021008; }
.border { border: 2px solid #021008; }
.transparent { background-color: rgb(2 16 8 / 50%); }
.gradient { background: linear-gradient(to right, #021008, #02100f); }
Similar colors
#041108Jedi Night#020f03Blackn’t#001000Cosmic Bit Flip#091101Memorial Black#0e191cBlack Stallion#121210Glimpse Into Space#1e231cUnderworld#191916Twilight Zone
Closest common color name: Off Black.
Questions
- What color is #021008?
- #021008 is a black, closest to the named color Jedi Night. It belongs to the black family of colors.
- What is the RGB value of #021008?
- The RGB value is 2, 16, 8: 2 red, 16 green and 8 blue on a 0 to 255 scale.
- What is the complementary color of #021008?
- The complementary color is #10020A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #021008?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.44:1. WCAG asks for at least 4.5:1 for normal text.