#02050A color
The hex color #02050A is a black.
In the RGB color model it is made of 0.8% red, 2% green and 3.9% blue (2, 5, 10).
Its hue angle is 218°, with 67% saturation and 2% lightness. For print, the CMYK equivalent is 80% cyan, 50% magenta, 0% yellow and 96% black.
The closest named color is Eight Ball (#03050A), a difference of 0.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.41:1).
#02050A color codes
| HEX | #02050A | |
|---|---|---|
| RGB | rgb(2, 5, 10) | |
| RGB percent | rgb(0.8%, 2%, 3.9%) | |
| HSL | hsl(218, 67%, 2%) | |
| HSV / HSB | hsv(218, 80%, 4%) | |
| CMYK | cmyk(80%, 50%, 0%, 96%) | |
| CIE LAB | lab(1.29, -0.09, -2.17) | |
| CIE LCH | lch(1.29, 2.17, 267.64) | |
| CIE XYZ | xyz(0.134, 0.143, 0.308) | |
| Decimal | 132362 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #02050A, 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 #02050A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.03:1 | Fail | Fail | Fail |
| Sample text | 20.41:1 | Pass | Pass | Pass |
| #02050A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.41:1 | Pass | Pass | Pass |
| Sample text | 1.03: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 #02050A looks to people with the most common types of color vision deficiency.
#04050aProtanopia
no red cones#03040aDeuteranopia
no green cones#000607Tritanopia
no blue cones#050505Achromatopsia
no color vision
CSS examples
.background { background-color: #02050a; }
.text { color: #02050a; }
.border { border: 2px solid #02050a; }
.transparent { background-color: rgb(2 5 10 / 50%); }
.gradient { background: linear-gradient(to right, #02050a, #03020a); }
Similar colors
#03050aEight Ball#0b0c10Midnight Black#030205Raven’s Coat#010203Black Hole#060606Black Metal#0f1012Ruined Smores#000000Black#0b0b0bRaven
Questions
- What color is #02050A?
- #02050A is a black, closest to the named color Eight Ball. It belongs to the black family of colors.
- What is the RGB value of #02050A?
- The RGB value is 2, 5, 10: 2 red, 5 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #02050A?
- The complementary color is #0A0702, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #02050A?
- White text. Black text has a contrast ratio of 1.03:1 and white text 20.41:1. WCAG asks for at least 4.5:1 for normal text.