#040400
Closest named color: Almost Black (#070D0D). oklch(10.3% 0.023 109.8), rgb(4, 4, 0).
Aa
White text reads best on this color (20.53:1).
About this color
#040400 is a very dark close to neutral grey. In OKLCH its lightness is 10%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.055 away. White text reads best on it, at 20.53:1.
| Hue family | Neutrals |
| Lightness | very dark (10%) |
| Chroma | close to neutral grey (0.023) |
| Temperature | neutral |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.02:1 |
| White text | 20.53:1 |
Values
| HEX | #040400 |
| RGB | rgb(4, 4, 0) |
| HSL | hsl(60, 100%, 1%) |
| OKLCH | oklch(10.3% 0.023 109.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 #040400 | 20.53:1 | AAA | Lc -107.9 | Preferred for body text |
| Black text on #040400 | 1.02:1 | Fails | Lc 0.0 | Not readable |
| #040400 text on white | 20.53:1 | AAA | Lc 106.0 | Preferred for body text |
| #040400 text on black | 1.02: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
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#EAEAE5
oklch(93.6% 0.007 106.5)
-
Step 200
200
#D9DACF
oklch(88.5% 0.015 110.9)
-
Step 300
300
#C1C2AF
oklch(80.8% 0.026 109.4)
-
Step 400
400
#A2A385
oklch(70.7% 0.042 109)
-
Step 500
500
#8B8D66
oklch(63.1% 0.055 110.3)
-
Step 600
600
#75774D
oklch(55.7% 0.06 110.5)
-
Step 700
700
#62643E
oklch(49.1% 0.056 110.9)
-
Step 800
800
#505134
oklch(42.6% 0.045 109.8)
-
Step 900
900
#43432D
oklch(37.6% 0.035 108)
-
Step 950
950 (this color)
#040400
oklch(10.3% 0.023 109.8)
#040400 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) | #050400 | 0.004 |
| Deuteranopia (no green cones) | #050400 | 0.004 |
| Tritanopia (no blue cones) | #050303 | 0.024 |
| Achromatopsia (no color) | #040404 | 0.023 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040400
#040400
oklch(10.3% 0.023 109.8)
- #04030A
#04030A
oklch(10.6% 0.022 291.2)
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 #040400, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.055
- Very Dark Brown #1D0200 ΔE 0.071
- Rich Navy #001219 ΔE 0.080
- Black #000000 ΔE 0.106
- Midnight #03012D ΔE 0.116
- Dark Navy Blue #00022E ΔE 0.117
- Rich Black #0D1B2A ΔE 0.127
- Very Dark Blue #000133 ΔE 0.127
Use #040400 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.