#040E05
Closest named color: Almost Black (#070D0D). oklch(14.9% 0.027 147.2), rgb(4, 14, 5).
Aa
White text reads best on this color (19.62:1).
About this color
#040E05 is a very dark close to neutral grey. In OKLCH its lightness is 15%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.022 away. White text reads best on it, at 19.62:1.
| Hue family | Neutrals |
| Lightness | very dark (15%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.07:1 |
| White text | 19.62:1 |
Values
| HEX | #040E05 |
| RGB | rgb(4, 14, 5) |
| HSL | hsl(126, 56%, 4%) |
| OKLCH | oklch(14.9% 0.027 147.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #040E05 | 19.62:1 | AAA | Lc -107.6 | Preferred for body text |
| Black text on #040E05 | 1.07:1 | Fails | Lc 0.0 | Not readable |
| #040E05 text on white | 19.62:1 | AAA | Lc 105.7 | Preferred for body text |
| #040E05 text on black | 1.07:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F4F6F4
oklch(97.1% 0.003 145.5)
-
Step 100
100
#E6ECE6
oklch(93.7% 0.01 145.5)
-
Step 200
200
#D2DDD2
oklch(88.6% 0.019 145.4)
-
Step 300
300
#B4C7B5
oklch(81% 0.032 146.7)
-
Step 400
400
#8CAA8E
oklch(70.7% 0.052 146.8)
-
Step 500
500
#6F9572
oklch(63.2% 0.067 146.8)
-
Step 600
600
#567F5B
oklch(55.6% 0.072 147.6)
-
Step 700
700
#466B4A
oklch(49% 0.067 147.1)
-
Step 800
800
#3A573D
oklch(42.6% 0.055 147.1)
-
Step 900
900
#324834
oklch(37.7% 0.044 147)
-
Step 950
950 (this color)
#040E05
oklch(14.9% 0.027 147.2)
#040E05 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0E0C05 | 0.022 |
| Deuteranopia (no green cones) | #0D0B05 | 0.022 |
| Tritanopia (no blue cones) | #030E0B | 0.014 |
| Achromatopsia (no color) | #0B0B0B | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040E05
#040E05
oklch(14.9% 0.027 147.2)
- #110711
#110711
oklch(14.9% 0.027 326.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #040E05, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.022
- Rich Navy #001219 ΔE 0.041
- Very Dark Brown #1D0200 ΔE 0.069
- Rich Black #0D1B2A ΔE 0.085
- Dark Navy Blue #00022E ΔE 0.105
- Midnight #03012D ΔE 0.106
- Dark Navy #000435 ΔE 0.111
- Very Dark Blue #000133 ΔE 0.113
Use #040E05 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.