#02517E
Closest named color: Deep Sea Blue (#015482). oklch(41.8% 0.1 242.9), rgb(2, 81, 126).
Aa
White text reads best on this color (8.46:1).
About this color
#02517E is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.100 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.010 away. White text reads best on it, at 8.46:1.
| Hue family | Blues |
| Lightness | dark (42%) |
| Chroma | moderately saturated (0.100) |
| Temperature | cool |
| Nearest name | Deep Sea Blue (#015482) |
| Black text | 2.48:1 |
| White text | 8.46:1 |
Values
| HEX | #02517E |
| RGB | rgb(2, 81, 126) |
| HSL | hsl(202, 97%, 25%) |
| OKLCH | oklch(41.8% 0.1 242.9) |
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 #02517E | 8.46:1 | AAA | Lc -93.2 | Preferred for body text |
| Black text on #02517E | 2.48:1 | Fails | Lc 15.4 | Dividers and decoration only |
| #02517E text on white | 8.46:1 | AAA | Lc 88.6 | Fine for body text |
| #02517E text on black | 2.48:1 | Fails | Lc -13.6 | 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 800.
-
Step 50
50
#F1F6FA
oklch(97.1% 0.008 241.7)
-
Step 100
100
#E1EBF5
oklch(93.5% 0.017 248)
-
Step 200
200
#C7DCED
oklch(88.4% 0.033 242.4)
-
Step 300
300
#A1C6E4
oklch(81% 0.058 243)
-
Step 400
400
#6BA7D6
oklch(70.6% 0.093 243.3)
-
Step 500
500
#3E91CC
oklch(63.2% 0.12 243)
-
Step 600
600
#0F7AB8
oklch(55.6% 0.129 242.6)
-
Step 700
700
#00669E
oklch(49% 0.119 243.2)
-
Step 800
800 (this color)
#02517E
oklch(41.8% 0.1 242.9)
-
Step 900
900
#134567
oklch(37.5% 0.078 243.1)
-
Step 950
950
#0E293D
oklch(27.1% 0.05 243.6)
#02517E 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) | #3B5380 | 0.045 |
| Deuteranopia (no green cones) | #2A487D | 0.033 |
| Tritanopia (no blue cones) | #005C61 | 0.068 |
| Achromatopsia (no color) | #4D4D4D | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02517E
#02517E
oklch(41.8% 0.1 242.9)
- #703F00
#703F00
oklch(41.8% 0.095 63.3)
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 #02517E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Deep Sea Blue #015482 ΔE 0.010
- Light Navy #155084 ΔE 0.014
- Dusk Blue #26538D ΔE 0.034
- Twilight Blue #0A437A ΔE 0.042
- Cobalt #1E488F ΔE 0.043
- Light Navy Blue #2E5A88 ΔE 0.044
- YInMn Blue #415A77 ΔE 0.062
- Dark Grey Blue #29465B ΔE 0.062
Use #02517E 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.