#040E1D
Closest named color: Rich Navy (#001219). oklch(16.3% 0.036 255.7), rgb(4, 14, 29).
Aa
White text reads best on this color (19.34:1).
About this color
#040E1D is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.036 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.021 away. White text reads best on it, at 19.34:1.
| Hue family | Blues |
| Lightness | very dark (16%) |
| Chroma | muted (0.036) |
| Temperature | cool |
| Nearest name | Rich Navy (#001219) |
| Black text | 1.08:1 |
| White text | 19.34:1 |
Values
| HEX | #040E1D |
| RGB | rgb(4, 14, 29) |
| HSL | hsl(216, 76%, 6%) |
| OKLCH | oklch(16.3% 0.036 255.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 #040E1D | 19.34:1 | AAA | Lc -107.5 | Preferred for body text |
| Black text on #040E1D | 1.08:1 | Fails | Lc 0.0 | Not readable |
| #040E1D text on white | 19.34:1 | AAA | Lc 105.6 | Preferred for body text |
| #040E1D text on black | 1.08: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
#F3F6F9
oklch(97.2% 0.005 247.9)
-
Step 100
100
#E5EAF2
oklch(93.6% 0.012 259.8)
-
Step 200
200
#CFDAE9
oklch(88.5% 0.024 256.1)
-
Step 300
300
#AFC2DC
oklch(80.8% 0.042 256.3)
-
Step 400
400
#85A3CB
oklch(70.7% 0.068 255.7)
-
Step 500
500
#668CBE
oklch(63.2% 0.087 255.6)
-
Step 600
600
#4D75AA
oklch(55.6% 0.094 255.8)
-
Step 700
700
#3D6292
oklch(49.1% 0.088 255.5)
-
Step 800
800
#335076
oklch(42.6% 0.073 255.6)
-
Step 900
900
#2D4360
oklch(37.8% 0.057 255.7)
-
Step 950
950 (this color)
#040E1D
oklch(16.3% 0.036 255.7)
#040E1D 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) | #080F1E | 0.009 |
| Deuteranopia (no green cones) | #050D1D | 0.004 |
| Tritanopia (no blue cones) | #001114 | 0.027 |
| Achromatopsia (no color) | #0E0E0E | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040E1D
#040E1D
oklch(16.3% 0.036 255.7)
- #160B00
#160B00
oklch(16.1% 0.034 74.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 #040E1D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Navy #001219 ΔE 0.021
- Almost Black #070D0D ΔE 0.034
- Rich Black #0D1B2A ΔE 0.055
- Midnight #03012D ΔE 0.058
- Dark Navy Blue #00022E ΔE 0.058
- Dark Navy #000435 ΔE 0.060
- Very Dark Blue #000133 ΔE 0.065
- Navy Blue #001146 ΔE 0.082
Use #040E1D 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.