#040924
Closest named color: Midnight (#03012D). oklch(15.5% 0.057 268.4), rgb(4, 9, 36).
Aa
White text reads best on this color (19.63:1).
About this color
#040924 is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.057 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.034 away. White text reads best on it, at 19.63:1.
| Hue family | Blues |
| Lightness | very dark (16%) |
| Chroma | muted (0.057) |
| Temperature | cool |
| Nearest name | Midnight (#03012D) |
| Black text | 1.06:1 |
| White text | 19.63:1 |
Values
| HEX | #040924 |
| RGB | rgb(4, 9, 36) |
| HSL | hsl(231, 80%, 8%) |
| OKLCH | oklch(15.5% 0.057 268.4) |
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 #040924 | 19.63:1 | AAA | Lc -107.6 | Preferred for body text |
| Black text on #040924 | 1.06:1 | Fails | Lc 0.0 | Not readable |
| #040924 text on white | 19.63:1 | AAA | Lc 105.6 | Preferred for body text |
| #040924 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
#F3F5FC
oklch(97.1% 0.01 273.4)
-
Step 100
100
#E4EAF7
oklch(93.6% 0.019 266)
-
Step 200
200
#CFD9F3
oklch(88.6% 0.037 268.9)
-
Step 300
300
#AEC0ED
oklch(81% 0.067 267.8)
-
Step 400
400
#849EE4
oklch(70.7% 0.107 268)
-
Step 500
500
#6684DD
oklch(63.1% 0.138 268.2)
-
Step 600
600
#4F6CCA
oklch(55.7% 0.149 268.4)
-
Step 700
700
#4059AF
oklch(49.1% 0.14 268.6)
-
Step 800
800
#35498E
oklch(42.7% 0.116 268.9)
-
Step 900
900
#2E3E71
oklch(37.7% 0.09 268.7)
-
Step 950
950 (this color)
#040924
oklch(15.5% 0.057 268.4)
#040924 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) | #000D25 | 0.015 |
| Deuteranopia (no green cones) | #000A23 | 0.011 |
| Tritanopia (no blue cones) | #001015 | 0.046 |
| Achromatopsia (no color) | #0B0B0B | 0.057 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #040924
#040924
oklch(15.5% 0.057 268.4)
- #120B00
#120B00
oklch(15.5% 0.032 86.6)
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 #040924, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight #03012D ΔE 0.034
- Dark Navy Blue #00022E ΔE 0.035
- Dark Navy #000435 ΔE 0.039
- Very Dark Blue #000133 ΔE 0.042
- Rich Navy #001219 ΔE 0.044
- Almost Black #070D0D ΔE 0.055
- Rich Black #0D1B2A ΔE 0.068
- Navy Blue #001146 ΔE 0.072
Use #040924 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.