#2F4871
Closest named color: Light Navy (#155084). oklch(40.2% 0.076 259.9), rgb(47, 72, 113).
Aa
White text reads best on this color (9.18:1).
About this color
#2F4871 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.076 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.039 away. White text reads best on it, at 9.18:1.
| Hue family | Blues |
| Lightness | dark (40%) |
| Chroma | moderately saturated (0.076) |
| Temperature | cool |
| Nearest name | Light Navy (#155084) |
| Black text | 2.28:1 |
| White text | 9.18:1 |
Values
| HEX | #2F4871 |
| RGB | rgb(47, 72, 113) |
| HSL | hsl(217, 41%, 31%) |
| OKLCH | oklch(40.2% 0.076 259.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 #2F4871 | 9.18:1 | AAA | Lc -95.4 | Preferred for body text |
| Black text on #2F4871 | 2.28:1 | Fails | Lc 12.9 | Not readable |
| #2F4871 text on white | 9.18:1 | AAA | Lc 91.0 | Preferred for body text |
| #2F4871 text on black | 2.28:1 | Fails | Lc -11.3 | 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
#F2F6FB
oklch(97.2% 0.008 253.9)
-
Step 100
100
#E3EAF5
oklch(93.5% 0.017 259.4)
-
Step 200
200
#CDDAEF
oklch(88.5% 0.032 260)
-
Step 300
300
#ABC2E6
oklch(80.9% 0.057 259.3)
-
Step 400
400
#7FA2DA
oklch(70.8% 0.091 259.6)
-
Step 500
500
#5E89D0
oklch(63% 0.118 260)
-
Step 600
600
#4572BD
oklch(55.6% 0.127 260.1)
-
Step 700
700
#365FA3
oklch(49% 0.119 260)
-
Step 800
800
#2D4E84
oklch(42.7% 0.098 259.8)
-
Step 900
900 (this color)
#2F4871
oklch(40.2% 0.076 259.9)
-
Step 950
950
#18263E
oklch(26.9% 0.049 260.7)
#2F4871 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) | #374B73 | 0.015 |
| Deuteranopia (no green cones) | #2F4570 | 0.009 |
| Tritanopia (no blue cones) | #045157 | 0.068 |
| Achromatopsia (no color) | #484848 | 0.076 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #2F4871
#2F4871
oklch(40.2% 0.076 259.9)
- #5E430D
#5E430D
oklch(40.3% 0.076 79.7)
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 #2F4871, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Navy #155084 ΔE 0.039
- Dark Grey Blue #29465B ΔE 0.039
- Twilight Blue #0A437A ΔE 0.040
- Deep Sea Blue #015482 ΔE 0.045
- Dusk Blue #26538D ΔE 0.051
- Cobalt #1E488F ΔE 0.052
- Charcoal #264653 ΔE 0.054
- Light Navy Blue #2E5A88 ΔE 0.060
Use #2F4871 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.