#04010B color
The hex color #04010B is a black.
In the RGB color model it is made of 1.6% red, 0.4% green and 4.3% blue (4, 1, 11).
Its hue angle is 258°, with 83% saturation and 2% lightness. For print, the CMYK equivalent is 64% cyan, 91% magenta, 0% yellow and 96% black.
The closest named color is Narwhal Gray (#080813), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.7:1).
#04010B color codes
| HEX | #04010B | |
|---|---|---|
| RGB | rgb(4, 1, 11) | |
| RGB percent | rgb(1.6%, 0.4%, 4.3%) | |
| HSL | hsl(258, 83%, 2%) | |
| HSV / HSB | hsv(258, 91%, 4%) | |
| CMYK | cmyk(64%, 91%, 0%, 96%) | |
| CIE LAB | lab(0.65, 2.18, -3.52) | |
| CIE LCH | lch(0.65, 4.14, 301.77) | |
| CIE XYZ | xyz(0.121, 0.072, 0.324) | |
| Decimal | 262411 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #04010B, 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 #04010B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.01:1 | Fail | Fail | Fail |
| Sample text | 20.7:1 | Pass | Pass | Pass |
| #04010B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.7: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 #04010B looks to people with the most common types of color vision deficiency.
#00020bProtanopia
no red cones#00020bDeuteranopia
no green cones#030204Tritanopia
no blue cones#020202Achromatopsia
no color vision
CSS examples
.background { background-color: #04010b; }
.text { color: #04010b; }
.border { border: 2px solid #04010b; }
.transparent { background-color: rgb(4 1 11 / 50%); }
.gradient { background: linear-gradient(to right, #04010b, #09010b); }
Similar colors
#080813Narwhal Gray#0b0c14Midnight Oil#060313Obsidian Shard#030205Raven’s Coat#03050aEight Ball#0b0c10Midnight Black#060b14Dark Rift#16141cBack in Black
Questions
- What color is #04010B?
- #04010B is a black, closest to the named color Narwhal Gray. It belongs to the black family of colors.
- What is the RGB value of #04010B?
- The RGB value is 4, 1, 11: 4 red, 1 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #04010B?
- The complementary color is #080B01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #04010B?
- White text. Black text has a contrast ratio of 1.01:1 and white text 20.7:1. WCAG asks for at least 4.5:1 for normal text.