#040A06 color
The hex color #040A06 is a black.
In the RGB color model it is made of 1.6% red, 3.9% green and 2.4% blue (4, 10, 6).
Its hue angle is 140°, with 43% saturation and 3% lightness. For print, the CMYK equivalent is 60% cyan, 0% magenta, 40% yellow and 96% black.
The closest named color is Glimpse Into Space (#121210), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.98:1).
#040A06 color codes
| HEX | #040A06 | |
|---|---|---|
| RGB | rgb(4, 10, 6) | |
| RGB percent | rgb(1.6%, 3.9%, 2.4%) | |
| HSL | hsl(140, 43%, 3%) | |
| HSV / HSB | hsv(140, 60%, 4%) | |
| CMYK | cmyk(60%, 0%, 40%, 96%) | |
| CIE LAB | lab(2.31, -2.13, 0.96) | |
| CIE LCH | lch(2.31, 2.33, 155.67) | |
| CIE XYZ | xyz(0.191, 0.256, 0.212) | |
| Decimal | 264710 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040A06, 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 #040A06 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 19.98:1 | Pass | Pass | Pass |
| #040A06 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.98:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #040A06 looks to people with the most common types of color vision deficiency.
#0a0906Protanopia
no red cones#090806Deuteranopia
no green cones#030a09Tritanopia
no blue cones#080808Achromatopsia
no color vision
CSS examples
.background { background-color: #040a06; }
.text { color: #040a06; }
.border { border: 2px solid #040a06; }
.transparent { background-color: rgb(4 10 6 / 50%); }
.gradient { background: linear-gradient(to right, #040a06, #040a09); }
Similar colors
#121210Glimpse Into Space#060606Black Metal#0b0b0bRaven#0c0c0cBlack Wash#12110eSinister#010203Black Hole#0f0f0fOff Black#000000Black
Questions
- What color is #040A06?
- #040A06 is a black, closest to the named color Glimpse Into Space. It belongs to the black family of colors.
- What is the RGB value of #040A06?
- The RGB value is 4, 10, 6: 4 red, 10 green and 6 blue on a 0 to 255 scale.
- What is the complementary color of #040A06?
- The complementary color is #0A0408, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040A06?
- White text. Black text has a contrast ratio of 1.05:1 and white text 19.98:1. WCAG asks for at least 4.5:1 for normal text.