#040E0D color
The hex color #040E0D is a black.
In the RGB color model it is made of 1.6% red, 5.5% green and 5.1% blue (4, 14, 13).
Its hue angle is 174°, with 56% saturation and 4% lightness. For print, the CMYK equivalent is 71% cyan, 0% magenta, 7% yellow and 95% black.
The closest named color is Jedi Night (#041108), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.56:1).
#040E0D color codes
| HEX | #040E0D | |
|---|---|---|
| RGB | rgb(4, 14, 13) | |
| RGB percent | rgb(1.6%, 5.5%, 5.1%) | |
| HSL | hsl(174, 56%, 4%) | |
| HSV / HSB | hsv(174, 71%, 5%) | |
| CMYK | cmyk(71%, 0%, 7%, 95%) | |
| CIE LAB | lab(3.33, -2.91, -0.51) | |
| CIE LCH | lch(3.33, 2.95, 189.9) | |
| CIE XYZ | xyz(0.28, 0.369, 0.437) | |
| Decimal | 265741 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040E0D, 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 #040E0D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.56:1 | Pass | Pass | Pass |
| #040E0D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.56: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 #040E0D looks to people with the most common types of color vision deficiency.
#0d0d0dProtanopia
no red cones#0b0b0dDeuteranopia
no green cones#020f0eTritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
CSS examples
.background { background-color: #040e0d; }
.text { color: #040e0d; }
.border { border: 2px solid #040e0d; }
.transparent { background-color: rgb(4 14 13 / 50%); }
.gradient { background: linear-gradient(to right, #040e0d, #040a0e); }
Similar colors
#041108Jedi Night#121210Glimpse Into Space#0c0c0cBlack Wash#0b0b0bRaven#0e191cBlack Stallion#0f0f0fOff Black#060606Black Metal#111111Dreamless Sleep
Questions
- What color is #040E0D?
- #040E0D is a black, closest to the named color Jedi Night. It belongs to the black family of colors.
- What is the RGB value of #040E0D?
- The RGB value is 4, 14, 13: 4 red, 14 green and 13 blue on a 0 to 255 scale.
- What is the complementary color of #040E0D?
- The complementary color is #0E0405, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040E0D?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.56:1. WCAG asks for at least 4.5:1 for normal text.