#050806 color
The hex color #050806 is a black.
In the RGB color model it is made of 2% red, 3.1% green and 2.4% blue (5, 8, 6).
Its hue angle is 140°, with 23% saturation and 3% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 25% yellow and 97% black.
The closest named color is Black Metal (#060606), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.12:1).
#050806 color codes
| HEX | #050806 | |
|---|---|---|
| RGB | rgb(5, 8, 6) | |
| RGB percent | rgb(2%, 3.1%, 2.4%) | |
| HSL | hsl(140, 23%, 3%) | |
| HSV / HSB | hsv(140, 38%, 3%) | |
| CMYK | cmyk(37%, 0%, 25%, 97%) | |
| CIE LAB | lab(1.98, -1.06, 0.48) | |
| CIE LCH | lch(1.98, 1.17, 155.67) | |
| CIE XYZ | xyz(0.182, 0.219, 0.205) | |
| Decimal | 329734 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #050806, 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 #050806 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.12:1 | Pass | Pass | Pass |
| #050806 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.12: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 #050806 looks to people with the most common types of color vision deficiency.
#080706Protanopia
no red cones#070706Deuteranopia
no green cones#050807Tritanopia
no blue cones#070707Achromatopsia
no color vision
CSS examples
.background { background-color: #050806; }
.text { color: #050806; }
.border { border: 2px solid #050806; }
.transparent { background-color: rgb(5 8 6 / 50%); }
.gradient { background: linear-gradient(to right, #050806, #050808); }
Similar colors
#060606Black Metal#0b0b0bRaven#0c0c0cBlack Wash#010203Black Hole#000000Black#050301Raven Black#0f0f0fOff Black#121210Glimpse Into Space
Questions
- What color is #050806?
- #050806 is a black, closest to the named color Black Metal. It belongs to the black family of colors.
- What is the RGB value of #050806?
- The RGB value is 5, 8, 6: 5 red, 8 green and 6 blue on a 0 to 255 scale.
- What is the complementary color of #050806?
- The complementary color is #080507, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #050806?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.12:1. WCAG asks for at least 4.5:1 for normal text.