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