#00040A color
The hex color #00040A is a black.
In the RGB color model it is made of 0% red, 1.6% green and 3.9% blue (0, 4, 10).
Its hue angle is 216°, with 100% saturation and 2% lightness. For print, the CMYK equivalent is 100% cyan, 60% magenta, 0% yellow and 96% black.
The closest named color is Eight Ball (#03050A), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.55:1).
#00040A color codes
| HEX | #00040A | |
|---|---|---|
| RGB | rgb(0, 4, 10) | |
| RGB percent | rgb(0%, 1.6%, 3.9%) | |
| HSL | hsl(216, 100%, 2%) | |
| HSV / HSB | hsv(216, 100%, 4%) | |
| CMYK | cmyk(100%, 60%, 0%, 96%) | |
| CIE LAB | lab(0.98, -0.21, -2.64) | |
| CIE LCH | lch(0.98, 2.65, 265.41) | |
| CIE XYZ | xyz(0.098, 0.109, 0.303) | |
| Decimal | 1034 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #00040A, 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 #00040A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.02:1 | Fail | Fail | Fail |
| Sample text | 20.55:1 | Pass | Pass | Pass |
| #00040A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.55:1 | Pass | Pass | Pass |
| Sample text | 1.02: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 #00040A looks to people with the most common types of color vision deficiency.
#02040aProtanopia
no red cones#01030aDeuteranopia
no green cones#000506Tritanopia
no blue cones#040404Achromatopsia
no color vision
CSS examples
.background { background-color: #00040a; }
.text { color: #00040a; }
.border { border: 2px solid #00040a; }
.transparent { background-color: rgb(0 4 10 / 50%); }
.gradient { background: linear-gradient(to right, #00040a, #01000a); }
Similar colors
#03050aEight Ball#0b0c10Midnight Black#030205Raven’s Coat#010203Black Hole#060b14Dark Rift#010b13Rich Black#010b13Black Knight#060606Black Metal
Questions
- What color is #00040A?
- #00040A is a black, closest to the named color Eight Ball. It belongs to the black family of colors.
- What is the RGB value of #00040A?
- The RGB value is 0, 4, 10: 0 red, 4 green and 10 blue on a 0 to 255 scale.
- What is the complementary color of #00040A?
- The complementary color is #0A0600, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #00040A?
- White text. Black text has a contrast ratio of 1.02:1 and white text 20.55:1. WCAG asks for at least 4.5:1 for normal text.