#050008 color
The hex color #050008 is a black.
In the RGB color model it is made of 2% red, 0% green and 3.1% blue (5, 0, 8).
Its hue angle is 278°, with 100% saturation and 2% lightness. For print, the CMYK equivalent is 37% cyan, 100% magenta, 0% yellow and 97% black.
The closest named color is Raven’s Coat (#030205), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.79:1).
#050008 color codes
| HEX | #050008 | |
|---|---|---|
| RGB | rgb(5, 0, 8) | |
| RGB percent | rgb(2%, 0%, 3.1%) | |
| HSL | hsl(278, 100%, 2%) | |
| HSV / HSB | hsv(278, 100%, 3%) | |
| CMYK | cmyk(37%, 100%, 0%, 97%) | |
| CIE LAB | lab(0.45, 2.42, -2.57) | |
| CIE LCH | lch(0.45, 3.53, 313.31) | |
| CIE XYZ | xyz(0.106, 0.05, 0.234) | |
| Decimal | 327688 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #050008, 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 #050008 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.01:1 | Fail | Fail | Fail |
| Sample text | 20.79:1 | Pass | Pass | Pass |
| #050008 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.79:1 | Pass | Pass | Pass |
| Sample text | 1.01: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 #050008 looks to people with the most common types of color vision deficiency.
#000108Protanopia
no red cones#000208Deuteranopia
no green cones#050102Tritanopia
no blue cones#020202Achromatopsia
no color vision
CSS examples
.background { background-color: #050008; }
.text { color: #050008; }
.border { border: 2px solid #050008; }
.transparent { background-color: rgb(5 0 8 / 50%); }
.gradient { background: linear-gradient(to right, #050008, #080007); }
Similar colors
#030205Raven’s Coat#080813Narwhal Gray#0b0c14Midnight Oil#03050aEight Ball#0b0c10Midnight Black#0f0707Knight Rider#060313Obsidian Shard#0f0d0dBlack Sheep
Questions
- What color is #050008?
- #050008 is a black, closest to the named color Raven’s Coat. It belongs to the black family of colors.
- What is the RGB value of #050008?
- The RGB value is 5, 0, 8: 5 red, 0 green and 8 blue on a 0 to 255 scale.
- What is the complementary color of #050008?
- The complementary color is #030800, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #050008?
- White text. Black text has a contrast ratio of 1.01:1 and white text 20.79:1. WCAG asks for at least 4.5:1 for normal text.