#040D06
Closest named color: Almost Black (#070D0D). oklch(14.6% 0.023 151.8), rgb(4, 13, 6).
Aa
White text reads best on this color (19.71:1).
About this color
#040D06 is a very dark close to neutral grey. In OKLCH its lightness is 15%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.018 away. White text reads best on it, at 19.71:1.
| Hue family | Neutrals |
| Lightness | very dark (15%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.06:1 |
| White text | 19.71:1 |
Values
| HEX | #040D06 |
| RGB | rgb(4, 13, 6) |
| HSL | hsl(133, 53%, 3%) |
| OKLCH | oklch(14.6% 0.023 151.8) |
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 #040D06 | 19.71:1 | AAA | Lc -107.7 | Preferred for body text |
| Black text on #040D06 | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #040D06 text on white | 19.71:1 | AAA | Lc 105.8 | Preferred for body text |
| #040D06 text on black | 1.06: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
#E6EBE7
oklch(93.5% 0.008 151.9)
-
Step 200
200
#D2DCD4
oklch(88.5% 0.015 151.7)
-
Step 300
300
#B4C6B8
oklch(80.9% 0.028 152.3)
-
Step 400
400
#8DA993
oklch(70.7% 0.044 151.5)
-
Step 500
500
#719379
oklch(63% 0.054 151.8)
-
Step 600
600
#597E62
oklch(55.7% 0.06 151.6)
-
Step 700
700
#486A51
oklch(49.1% 0.056 152.2)
-
Step 800
800
#3C5642
oklch(42.6% 0.046 151.2)
-
Step 900
900
#334738
oklch(37.6% 0.036 152.1)
-
Step 950
950 (this color)
#040D06
oklch(14.6% 0.023 151.8)
#040D06 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) | #0D0B06 | 0.020 |
| Deuteranopia (no green cones) | #0B0A06 | 0.019 |
| Tritanopia (no blue cones) | #030D0B | 0.012 |
| Achromatopsia (no color) | #0B0B0B | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040D06
#040D06
oklch(14.6% 0.023 151.8)
- #10070F
#10070F
oklch(14.7% 0.023 330.5)
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 #040D06, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.018
- Rich Navy #001219 ΔE 0.040
- Very Dark Brown #1D0200 ΔE 0.068
- Rich Black #0D1B2A ΔE 0.085
- Dark Navy Blue #00022E ΔE 0.101
- Midnight #03012D ΔE 0.101
- Dark Navy #000435 ΔE 0.107
- Very Dark Blue #000133 ΔE 0.109
Use #040D06 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.