#405871
Closest named color: YInMn Blue (#415A77). oklch(45.1% 0.051 250), rgb(64, 88, 113).
Aa
White text reads best on this color (7.36:1).
About this color
#405871 is a medium-dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.051 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.011 away. White text reads best on it, at 7.36:1.
| Hue family | Blues |
| Lightness | medium-dark (45%) |
| Chroma | muted (0.051) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.85:1 |
| White text | 7.36:1 |
Values
| HEX | #405871 |
| RGB | rgb(64, 88, 113) |
| HSL | hsl(211, 28%, 35%) |
| OKLCH | oklch(45.1% 0.051 250) |
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 #405871 | 7.36:1 | AAA | Lc -90.4 | Preferred for body text |
| Black text on #405871 | 2.85:1 | Fails | Lc 18.5 | Dividers and decoration only |
| #405871 text on white | 7.36:1 | AAA | Lc 85.5 | Fine for body text |
| #405871 text on black | 2.85:1 | Fails | Lc -16.5 | 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
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E6EAEF
oklch(93.5% 0.008 253.9)
-
Step 200
200
#D1DAE4
oklch(88.4% 0.017 250.9)
-
Step 300
300
#B3C3D3
oklch(81% 0.029 248.2)
-
Step 400
400
#8BA3BE
oklch(70.6% 0.048 251.5)
-
Step 500
500
#6E8DAD
oklch(63.2% 0.06 249.6)
-
Step 600
600
#557699
oklch(55.5% 0.067 250.5)
-
Step 700
700
#466382
oklch(49% 0.061 250.8)
-
Step 800
800 (this color)
#405871
oklch(45.1% 0.051 250)
-
Step 900
900
#324356
oklch(37.7% 0.039 251.6)
-
Step 950
950
#1D2732
oklch(26.8% 0.025 251.2)
#405871 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) | #4E5972 | 0.020 |
| Deuteranopia (no green cones) | #485471 | 0.015 |
| Tritanopia (no blue cones) | #2E5E60 | 0.044 |
| Achromatopsia (no color) | #565656 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405871
#405871
oklch(45.1% 0.051 250)
- #685136
#685136
oklch(45.2% 0.051 70.4)
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 #405871, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.011
- Dusty Grape #545775 ΔE 0.030
- Dusk #4E5481 ΔE 0.038
- Light Navy Blue #2E5A88 ΔE 0.040
- Denim #3B638C ΔE 0.048
- Slate #516572 ΔE 0.048
- Petrol #005F6A ΔE 0.052
- Denim Blue #3B5B92 ΔE 0.053
Use #405871 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.