#040D19 color
The hex color #040D19 is a very dark, moderate azure.
In the RGB color model it is made of 1.6% red, 5.1% green and 9.8% blue (4, 13, 25).
Its hue angle is 214°, with 72% saturation and 6% lightness. For print, the CMYK equivalent is 84% cyan, 48% magenta, 0% yellow and 90% black.
The closest named color is Midnight Edition (#0C121B), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.5:1).
#040D19 color codes
| HEX | #040D19 | |
|---|---|---|
| RGB | rgb(4, 13, 25) | |
| RGB percent | rgb(1.6%, 5.1%, 9.8%) | |
| HSL | hsl(214, 72%, 6%) | |
| HSV / HSB | hsv(214, 84%, 10%) | |
| CMYK | cmyk(84%, 48%, 0%, 90%) | |
| CIE LAB | lab(3.47, 0.19, -7.96) | |
| CIE LCH | lch(3.47, 7.96, 271.36) | |
| CIE XYZ | xyz(0.369, 0.384, 0.974) | |
| Decimal | 265497 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040D19, 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 #040D19 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.5:1 | Pass | Pass | Pass |
| #040D19 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.5:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #040D19 looks to people with the most common types of color vision deficiency.
#080e1aProtanopia
no red cones#060b19Deuteranopia
no green cones#001011Tritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
CSS examples
.background { background-color: #040d19; }
.text { color: #040d19; }
.border { border: 2px solid #040d19; }
.transparent { background-color: rgb(4 13 25 / 50%); }
.gradient { background: linear-gradient(to right, #040d19, #060419); }
Similar colors
#0c121bMidnight Edition#060b14Dark Rift#010b13Rich Black#010b13Black Knight#0b0c14Midnight Oil#080813Narwhal Gray#16161dEigengrau#060313Obsidian Shard
Questions
- What color is #040D19?
- #040D19 is a very dark, moderate azure, closest to the named color Midnight Edition. It belongs to the black family of colors.
- What is the RGB value of #040D19?
- The RGB value is 4, 13, 25: 4 red, 13 green and 25 blue on a 0 to 255 scale.
- What is the complementary color of #040D19?
- The complementary color is #191004, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040D19?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.5:1. WCAG asks for at least 4.5:1 for normal text.