#040A1C
Closest named color: Rich Navy (#001219). oklch(15% 0.04 264.7), rgb(4, 10, 28).
Aa
White text reads best on this color (19.71:1).
About this color
#040A1C is a very dark, muted blue. In OKLCH its lightness is 15%, its chroma 0.040 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.033 away. White text reads best on it, at 19.71:1.
| Hue family | Blues |
| Lightness | very dark (15%) |
| Chroma | muted (0.040) |
| Temperature | cool |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.06:1 |
| White text | 19.71:1 |
Values
| HEX | #040A1C |
| RGB | rgb(4, 10, 28) |
| HSL | hsl(225, 75%, 6%) |
| OKLCH | oklch(15% 0.04 264.7) |
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 #040A1C | 19.71:1 | AAA | Lc -107.7 | Preferred for body text |
| Black text on #040A1C | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #040A1C text on white | 19.71:1 | AAA | Lc 105.7 | Preferred for body text |
| #040A1C 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
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E5EAF3
oklch(93.6% 0.013 262.4)
-
Step 200
200
#D0D9EB
oklch(88.4% 0.027 264.4)
-
Step 300
300
#B1C1E1
oklch(80.9% 0.049 264.3)
-
Step 400
400
#89A0D1
oklch(70.6% 0.077 265)
-
Step 500
500
#6C88C5
oklch(63.1% 0.098 264.9)
-
Step 600
600
#5471B2
oklch(55.6% 0.107 264.9)
-
Step 700
700
#445F99
oklch(49.2% 0.099 264.2)
-
Step 800
800
#384D7C
oklch(42.6% 0.083 264.9)
-
Step 900
900
#314164
oklch(37.8% 0.064 264.8)
-
Step 950
950 (this color)
#040A1C
oklch(15% 0.04 264.7)
#040A1C 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) | #030C1D | 0.007 |
| Deuteranopia (no green cones) | #010A1C | 0.008 |
| Tritanopia (no blue cones) | #000E11 | 0.033 |
| Achromatopsia (no color) | #0B0B0B | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040A1C
#040A1C
oklch(15% 0.04 264.7)
- #110A00
#110A00
oklch(15% 0.031 85.7)
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 #040A1C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.033
- Almost Black #070D0D ΔE 0.038
- Midnight #03012D ΔE 0.048
- Dark Navy Blue #00022E ΔE 0.050
- Dark Navy #000435 ΔE 0.056
- Very Dark Blue #000133 ΔE 0.058
- Rich Black #0D1B2A ΔE 0.069
- Very Dark Brown #1D0200 ΔE 0.086
Use #040A1C 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.