#00405F
Closest named color: Midnight Green (#073B4C). oklch(35.3% 0.078 238.1), rgb(0, 64, 95).
Aa
White text reads best on this color (11.06:1).
About this color
#00405F is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.078 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.034 away. White text reads best on it, at 11.06:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.078) |
| Temperature | cool |
| Nearest name | Midnight Green (#073B4C) |
| Black text | 1.89:1 |
| White text | 11.06:1 |
Values
| HEX | #00405F |
| RGB | rgb(0, 64, 95) |
| HSL | hsl(200, 100%, 19%) |
| OKLCH | oklch(35.3% 0.078 238.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 #00405F | 11.06:1 | AAA | Lc -99.0 | Preferred for body text |
| Black text on #00405F | 1.89:1 | Fails | Lc 8.8 | Not readable |
| #00405F text on white | 11.06:1 | AAA | Lc 95.1 | Preferred for body text |
| #00405F text on black | 1.89:1 | Fails | Lc -7.5 | 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 900.
-
Step 50
50
#F1F6FA
oklch(97.1% 0.008 241.7)
-
Step 100
100
#E0ECF4
oklch(93.6% 0.017 236.7)
-
Step 200
200
#C6DDED
oklch(88.5% 0.033 238.2)
-
Step 300
300
#9EC7E3
oklch(81% 0.059 238.3)
-
Step 400
400
#65A9D4
oklch(70.7% 0.094 237.8)
-
Step 500
500
#3293C9
oklch(63.2% 0.12 237.8)
-
Step 600
600
#007CB3
oklch(55.7% 0.124 238.2)
-
Step 700
700
#006897
oklch(49.1% 0.109 238.1)
-
Step 800
800
#00557C
oklch(42.7% 0.094 237.9)
-
Step 900
900 (this color)
#00405F
oklch(35.3% 0.078 238.1)
-
Step 950
950
#0A2A3C
oklch(27.2% 0.05 237.5)
#00405F 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) | #314060 | 0.042 |
| Deuteranopia (no green cones) | #24385E | 0.033 |
| Tritanopia (no blue cones) | #00484B | 0.050 |
| Achromatopsia (no color) | #3C3C3C | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #00405F
#00405F
oklch(35.3% 0.078 238.1)
- #592F07
#592F07
oklch(35.3% 0.079 57.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 #00405F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Green #073B4C ΔE 0.034
- Marine Blue #01386A ΔE 0.035
- Dark Blue Grey #1F3B4D ΔE 0.035
- Prussian Blue #1D3557 ΔE 0.036
- Dark Grey Blue #29465B ΔE 0.040
- Charcoal #264653 ΔE 0.043
- Twilight Blue #0A437A ΔE 0.048
- Marine #042E60 ΔE 0.058
Use #00405F 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.