#040D0E color
The hex color #040D0E is a black.
In the RGB color model it is made of 1.6% red, 5.1% green and 5.5% blue (4, 13, 14).
Its hue angle is 186°, with 56% saturation and 4% lightness. For print, the CMYK equivalent is 71% cyan, 7% magenta, 0% yellow and 95% black.
The closest named color is Ruined Smores (#0F1012), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.64:1).
#040D0E color codes
| HEX | #040D0E | |
|---|---|---|
| RGB | rgb(4, 13, 14) | |
| RGB percent | rgb(1.6%, 5.1%, 5.5%) | |
| HSL | hsl(186, 56%, 4%) | |
| HSV / HSB | hsv(186, 71%, 5%) | |
| CMYK | cmyk(71%, 7%, 0%, 95%) | |
| CIE LAB | lab(3.12, -2.25, -1.31) | |
| CIE LCH | lch(3.12, 2.61, 210.18) | |
| CIE XYZ | xyz(0.273, 0.345, 0.468) | |
| Decimal | 265486 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040D0E, 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 #040D0E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.64:1 | Pass | Pass | Pass |
| #040D0E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.64:1 | Pass | Pass | Pass |
| Sample text | 1.07: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 #040D0E looks to people with the most common types of color vision deficiency.
#0c0c0eProtanopia
no red cones#0a0b0eDeuteranopia
no green cones#010e0dTritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #040d0e; }
.text { color: #040d0e; }
.border { border: 2px solid #040d0e; }
.transparent { background-color: rgb(4 13 14 / 50%); }
.gradient { background: linear-gradient(to right, #040d0e, #04080e); }
Similar colors
#0f1012Ruined Smores#0b0b0bRaven#0c0c0cBlack Wash#010203Black Hole#0f0f0fOff Black#060606Black Metal#010b13Rich Black#010b13Black Knight
Questions
- What color is #040D0E?
- #040D0E is a black, closest to the named color Ruined Smores. It belongs to the black family of colors.
- What is the RGB value of #040D0E?
- The RGB value is 4, 13, 14: 4 red, 13 green and 14 blue on a 0 to 255 scale.
- What is the complementary color of #040D0E?
- The complementary color is #0E0504, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040D0E?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.64:1. WCAG asks for at least 4.5:1 for normal text.