#020802 color
The hex color #020802 is a black.
In the RGB color model it is made of 0.8% red, 3.1% green and 0.8% blue (2, 8, 2).
Its hue angle is 120°, with 60% saturation and 2% lightness. For print, the CMYK equivalent is 75% cyan, 0% magenta, 75% yellow and 97% black.
The closest named color is Glimpse Into Space (#121210), a difference of 3.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.23:1).
#020802 color codes
| HEX | #020802 | |
|---|---|---|
| RGB | rgb(2, 8, 2) | |
| RGB percent | rgb(0.8%, 3.1%, 0.8%) | |
| HSL | hsl(120, 60%, 2%) | |
| HSV / HSB | hsv(120, 75%, 3%) | |
| CMYK | cmyk(75%, 0%, 75%, 97%) | |
| CIE LAB | lab(1.72, -2.4, 1.72) | |
| CIE LCH | lch(1.72, 2.95, 144.44) | |
| CIE XYZ | xyz(0.123, 0.191, 0.088) | |
| Decimal | 133122 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #020802, 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 #020802 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.23:1 | Pass | Pass | Pass |
| #020802 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.23:1 | Pass | Pass | Pass |
| Sample text | 1.04: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 #020802 looks to people with the most common types of color vision deficiency.
#080702Protanopia
no red cones#070602Deuteranopia
no green cones#020806Tritanopia
no blue cones#060606Achromatopsia
no color vision
CSS examples
.background { background-color: #020802; }
.text { color: #020802; }
.border { border: 2px solid #020802; }
.transparent { background-color: rgb(2 8 2 / 50%); }
.gradient { background: linear-gradient(to right, #020802, #020805); }
Similar colors
#121210Glimpse Into Space#12110eSinister#060606Black Metal#041108Jedi Night#0b0b0bRaven#0c0c0cBlack Wash#050301Raven Black#000000Black
Questions
- What color is #020802?
- #020802 is a black, closest to the named color Glimpse Into Space. It belongs to the black family of colors.
- What is the RGB value of #020802?
- The RGB value is 2, 8, 2: 2 red, 8 green and 2 blue on a 0 to 255 scale.
- What is the complementary color of #020802?
- The complementary color is #080208, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #020802?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.23:1. WCAG asks for at least 4.5:1 for normal text.