#040300
Closest named color: Almost Black (#070D0D). oklch(9.7% 0.02 99.3), rgb(4, 3, 0).
Aa
White text reads best on this color (20.62:1).
About this color
#040300 is a very dark close to neutral grey. In OKLCH its lightness is 10%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.060 away. White text reads best on it, at 20.62:1.
| Hue family | Neutrals |
| Lightness | very dark (10%) |
| Chroma | close to neutral grey (0.020) |
| Temperature | neutral |
| Nearest name | Almost Black (#070D0D) |
| Black text | 1.01:1 |
| White text | 20.62:1 |
Values
| HEX | #040300 |
| RGB | rgb(4, 3, 0) |
| HSL | hsl(45, 100%, 1%) |
| OKLCH | oklch(9.7% 0.02 99.3) |
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 #040300 | 20.62:1 | AAA | Lc -107.9 | Preferred for body text |
| Black text on #040300 | 1.01:1 | Fails | Lc 0.0 | Not readable |
| #040300 text on white | 20.62:1 | AAA | Lc 106.0 | Preferred for body text |
| #040300 text on black | 1.01: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
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EBEAE5
oklch(93.6% 0.007 97.4)
-
Step 200
200
#DBD9D0
oklch(88.4% 0.012 96.4)
-
Step 300
300
#C4C1B0
oklch(80.9% 0.024 98.7)
-
Step 400
400
#A6A187
oklch(70.6% 0.037 98.2)
-
Step 500
500
#908A69
oklch(63% 0.047 99)
-
Step 600
600
#7B7450
oklch(55.6% 0.053 98.5)
-
Step 700
700
#676141
oklch(49% 0.048 98.8)
-
Step 800
800
#545036
oklch(42.8% 0.04 100.5)
-
Step 900
900
#46422F
oklch(37.7% 0.031 97.6)
-
Step 950
950 (this color)
#040300
oklch(9.7% 0.02 99.3)
#040300 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) | #040300 | 0.000 |
| Deuteranopia (no green cones) | #040300 | 0.000 |
| Tritanopia (no blue cones) | #050202 | 0.021 |
| Achromatopsia (no color) | #030303 | 0.020 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040300
#040300
oklch(9.7% 0.02 99.3)
- #020308
#020308
oklch(9.9% 0.018 269.9)
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 #040300, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Almost Black #070D0D ΔE 0.060
- Very Dark Brown #1D0200 ΔE 0.073
- Rich Navy #001219 ΔE 0.086
- Black #000000 ΔE 0.099
- Midnight #03012D ΔE 0.117
- Dark Navy Blue #00022E ΔE 0.119
- Very Dark Blue #000133 ΔE 0.129
- Dark Navy #000435 ΔE 0.131
Use #040300 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.