#02337F
Closest named color: Marine Blue (#01386A). oklch(34.6% 0.138 260), rgb(2, 51, 127).
Aa
White text reads best on this color (11.78:1).
About this color
#02337F is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.138 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.040 away. White text reads best on it, at 11.78:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.138) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.78:1 |
| White text | 11.78:1 |
Values
| HEX | #02337F |
| RGB | rgb(2, 51, 127) |
| HSL | hsl(216, 97%, 25%) |
| OKLCH | oklch(34.6% 0.138 260) |
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 #02337F | 11.78:1 | AAA | Lc -100.0 | Preferred for body text |
| Black text on #02337F | 1.78:1 | Fails | Lc 7.6 | Not readable |
| #02337F text on white | 11.78:1 | AAA | Lc 96.3 | Preferred for body text |
| #02337F text on black | 1.78: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 900.
-
Step 50
50
#F0F6FF
oklch(97.1% 0.014 258.3)
-
Step 100
100
#DEEBFE
oklch(93.6% 0.029 257.8)
-
Step 200
200
#C4DAFF
oklch(88.4% 0.057 260.8)
-
Step 300
300
#9CC2FF
oklch(80.9% 0.096 259.7)
-
Step 400
400
#669FFF
oklch(70.7% 0.154 260.3)
-
Step 500
500
#3883FF
oklch(63% 0.199 260)
-
Step 600
600
#0067F4
oklch(55.6% 0.226 260)
-
Step 700
700
#0056CF
oklch(49.1% 0.2 260)
-
Step 800
800
#0046AC
oklch(42.7% 0.175 260)
-
Step 900
900 (this color)
#02337F
oklch(34.6% 0.138 260)
-
Step 950
950
#092450
oklch(27% 0.087 259.9)
#02337F 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) | #003D82 | 0.028 |
| Deuteranopia (no green cones) | #00327E | 0.004 |
| Tritanopia (no blue cones) | #004653 | 0.104 |
| Achromatopsia (no color) | #383838 | 0.138 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02337F
#02337F
oklch(34.6% 0.138 260)
- #4D3400
#4D3400
oklch(34.5% 0.072 79)
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 #02337F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.040
- Twilight Blue #0A437A ΔE 0.048
- Marine #042E60 ΔE 0.055
- Royal #0C1793 ΔE 0.062
- Midnight Blue #191970 ΔE 0.066
- Cobalt #1E488F ΔE 0.069
- Prussian Blue #1D3557 ΔE 0.072
- Sapphire #2138AB ΔE 0.080
Use #02337F 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.