#020707 color
The hex color #020707 is a black.
In the RGB color model it is made of 0.8% red, 2.7% green and 2.7% blue (2, 7, 7).
Its hue angle is 180°, with 56% saturation and 2% lightness. For print, the CMYK equivalent is 71% cyan, 0% magenta, 0% yellow and 97% black.
The closest named color is Black Hole (#010203), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.27:1).
#020707 color codes
| HEX | #020707 | |
|---|---|---|
| RGB | rgb(2, 7, 7) | |
| RGB percent | rgb(0.8%, 2.7%, 2.7%) | |
| HSL | hsl(180, 56%, 2%) | |
| HSV / HSB | hsv(180, 71%, 3%) | |
| CMYK | cmyk(71%, 0%, 0%, 97%) | |
| CIE LAB | lab(1.63, -1.31, -0.46) | |
| CIE LCH | lch(1.63, 1.39, 199.41) | |
| CIE XYZ | xyz(0.139, 0.18, 0.228) | |
| Decimal | 132871 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #020707, 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 #020707 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.27:1 | Pass | Pass | Pass |
| #020707 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.27: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 #020707 looks to people with the most common types of color vision deficiency.
#060607Protanopia
no red cones#050607Deuteranopia
no green cones#010707Tritanopia
no blue cones#060606Achromatopsia
no color vision
CSS examples
.background { background-color: #020707; }
.text { color: #020707; }
.border { border: 2px solid #020707; }
.transparent { background-color: rgb(2 7 7 / 50%); }
.gradient { background: linear-gradient(to right, #020707, #020507); }
Similar colors
#010203Black Hole#060606Black Metal#0b0b0bRaven#000000Black#0c0c0cBlack Wash#0f0f0fOff Black#03050aEight Ball#050301Raven Black
Questions
- What color is #020707?
- #020707 is a black, closest to the named color Black Hole. It belongs to the black family of colors.
- What is the RGB value of #020707?
- The RGB value is 2, 7, 7: 2 red, 7 green and 7 blue on a 0 to 255 scale.
- What is the complementary color of #020707?
- The complementary color is #070202, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #020707?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.27:1. WCAG asks for at least 4.5:1 for normal text.