#04062F
Closest named color: Dark Navy (#000435). oklch(16.1% 0.081 270.1), rgb(4, 6, 47).
Aa
White text reads best on this color (19.58:1).
About this color
#04062F is a very dark, moderately saturated blue. In OKLCH its lightness is 16%, its chroma 0.081 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.018 away. White text reads best on it, at 19.58:1.
| Hue family | Blues |
| Lightness | very dark (16%) |
| Chroma | moderately saturated (0.081) |
| Temperature | cool |
| Nearest name | Dark Navy (#000435) |
| Black text | 1.07:1 |
| White text | 19.58:1 |
Values
| HEX | #04062F |
| RGB | rgb(4, 6, 47) |
| HSL | hsl(237, 84%, 10%) |
| OKLCH | oklch(16.1% 0.081 270.1) |
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 #04062F | 19.58:1 | AAA | Lc -107.4 | Preferred for body text |
| Black text on #04062F | 1.07:1 | Fails | Lc 0.0 | Not readable |
| #04062F text on white | 19.58:1 | AAA | Lc 105.4 | Preferred for body text |
| #04062F text on black | 1.07: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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E2E9FD
oklch(93.5% 0.028 270.4)
-
Step 200
200
#CBD8FD
oklch(88.4% 0.053 270)
-
Step 300
300
#A9BEFF
oklch(80.9% 0.095 270.4)
-
Step 400
400
#7C99FF
oklch(70.6% 0.153 270.2)
-
Step 500
500
#5E7CFE
oklch(63.2% 0.195 270.2)
-
Step 600
600
#4761ED
oklch(55.7% 0.212 270)
-
Step 700
700
#394FCE
oklch(49.2% 0.197 269.9)
-
Step 800
800
#2F41A7
oklch(42.7% 0.164 270.2)
-
Step 900
900
#293984
oklch(37.8% 0.127 270.1)
-
Step 950
950 (this color)
#04062F
oklch(16.1% 0.081 270.1)
#04062F 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) | #000E30 | 0.023 |
| Deuteranopia (no green cones) | #000A2E | 0.013 |
| Tritanopia (no blue cones) | #001119 | 0.062 |
| Achromatopsia (no color) | #0C0C0C | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #04062F
#04062F
oklch(16.1% 0.081 270.1)
- #130D00
#130D00
oklch(16.2% 0.033 91.4)
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 #04062F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Navy #000435 ΔE 0.018
- Midnight #03012D ΔE 0.020
- Dark Navy Blue #00022E ΔE 0.022
- Very Dark Blue #000133 ΔE 0.024
- Night Blue #040348 ΔE 0.049
- Navy Blue #001146 ΔE 0.056
- Rich Navy #001219 ΔE 0.064
- Rich Black #0D1B2A ΔE 0.075
Use #04062F 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.