#02415E
Closest named color: Midnight Green (#073B4C). oklch(35.5% 0.076 236.4), rgb(2, 65, 94).
Aa
White text reads best on this color (10.93:1).
About this color
#02415E is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.076 and its hue 236°. 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 10.93:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.076) |
| Temperature | cool |
| Nearest name | Midnight Green (#073B4C) |
| Black text | 1.92:1 |
| White text | 10.93:1 |
Values
| HEX | #02415E |
| RGB | rgb(2, 65, 94) |
| HSL | hsl(199, 96%, 19%) |
| OKLCH | oklch(35.5% 0.076 236.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 #02415E | 10.93:1 | AAA | Lc -98.8 | Preferred for body text |
| Black text on #02415E | 1.92:1 | Fails | Lc 9.1 | Not readable |
| #02415E text on white | 10.93:1 | AAA | Lc 94.9 | Preferred for body text |
| #02415E text on black | 1.92:1 | Fails | Lc -7.8 | 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
#C6DDEC
oklch(88.5% 0.032 236.4)
-
Step 300
300
#9EC7E1
oklch(80.9% 0.057 236.2)
-
Step 400
400
#66A9D2
oklch(70.6% 0.091 236.9)
-
Step 500
500
#3393C6
oklch(63% 0.116 236.4)
-
Step 600
600
#007CB0
oklch(55.5% 0.121 236.7)
-
Step 700
700
#006895
oklch(49% 0.107 237)
-
Step 800
800
#00557B
oklch(42.6% 0.093 237.2)
-
Step 900
900 (this color)
#02415E
oklch(35.5% 0.076 236.4)
-
Step 950
950
#0A2A3B
oklch(27.1% 0.048 236)
#02415E 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) | #33415F | 0.044 |
| Deuteranopia (no green cones) | #27395E | 0.035 |
| Tritanopia (no blue cones) | #00484B | 0.046 |
| Achromatopsia (no color) | #3D3D3D | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02415E
#02415E
oklch(35.5% 0.076 236.4)
- #59300D
#59300D
oklch(35.5% 0.076 56.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 #02415E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Midnight Green #073B4C ΔE 0.034
- Dark Blue Grey #1F3B4D ΔE 0.034
- Dark Grey Blue #29465B ΔE 0.036
- Prussian Blue #1D3557 ΔE 0.039
- Marine Blue #01386A ΔE 0.039
- Charcoal #264653 ΔE 0.039
- Twilight Blue #0A437A ΔE 0.049
- Dark Teal #014D4E ΔE 0.056
Use #02415E 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.