#02579B
Closest named color: Dusk Blue (#26538D). oklch(45.2% 0.131 251.1), rgb(2, 87, 155).
Aa
White text reads best on this color (7.39:1).
About this color
#02579B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.131 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.027 away. White text reads best on it, at 7.39:1.
| Hue family | Blues |
| Lightness | medium-dark (45%) |
| Chroma | moderately saturated (0.131) |
| Temperature | cool |
| Nearest name | Dusk Blue (#26538D) |
| Black text | 2.83:1 |
| White text | 7.39:1 |
Values
| HEX | #02579B |
| RGB | rgb(2, 87, 155) |
| HSL | hsl(207, 97%, 31%) |
| OKLCH | oklch(45.2% 0.131 251.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 #02579B | 7.39:1 | AAA | Lc -89.9 | Fine for body text |
| Black text on #02579B | 2.83:1 | Fails | Lc 19.0 | Dividers and decoration only |
| #02579B text on white | 7.39:1 | AAA | Lc 85.1 | Fine for body text |
| #02579B text on black | 2.83:1 | Fails | Lc -17.0 | Dividers and decoration only |
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
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#DFEBF9
oklch(93.5% 0.023 252.2)
-
Step 200
200
#C5DCF5
oklch(88.5% 0.042 250.5)
-
Step 300
300
#9CC5F1
oklch(81% 0.076 250.6)
-
Step 400
400
#63A5EA
oklch(70.7% 0.122 250.9)
-
Step 500
500
#318CE4
oklch(63% 0.157 251.3)
-
Step 600
600
#0075CE
oklch(55.7% 0.162 251.1)
-
Step 700
700
#0062AE
oklch(49.1% 0.143 251.1)
-
Step 800
800 (this color)
#02579B
oklch(45.2% 0.131 251.1)
-
Step 900
900
#0A4375
oklch(37.7% 0.102 250.8)
-
Step 950
950
#0A2745
oklch(26.9% 0.066 252.2)
#02579B 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) | #335C9E | 0.035 |
| Deuteranopia (no green cones) | #15509A | 0.019 |
| Tritanopia (no blue cones) | #006871 | 0.097 |
| Achromatopsia (no color) | #565656 | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #02579B
#02579B
oklch(45.2% 0.131 251.1)
- #774B00
#774B00
oklch(45.2% 0.097 71.2)
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 #02579B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusk Blue #26538D ΔE 0.027
- Light Navy #155084 ΔE 0.040
- Deep Sea Blue #015482 ΔE 0.041
- Light Navy Blue #2E5A88 ΔE 0.041
- Cobalt #1E488F ΔE 0.043
- Denim Blue #3B5B92 ΔE 0.044
- Peacock Blue #016795 ΔE 0.050
- Dusky Blue #475F94 ΔE 0.062
Use #02579B 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.