#405170
Closest named color: YInMn Blue (#415A77). oklch(43.4% 0.056 262.1), rgb(64, 81, 112).
Aa
White text reads best on this color (7.98:1).
About this color
#405170 is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.056 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.027 away. White text reads best on it, at 7.98:1.
| Hue family | Blues |
| Lightness | dark (43%) |
| Chroma | muted (0.056) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.62:1 |
| White text | 7.98:1 |
Values
| HEX | #405170 |
| RGB | rgb(64, 81, 112) |
| HSL | hsl(219, 27%, 35%) |
| OKLCH | oklch(43.4% 0.056 262.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 #405170 | 7.98:1 | AAA | Lc -92.3 | Preferred for body text |
| Black text on #405170 | 2.62:1 | Fails | Lc 16.4 | Dividers and decoration only |
| #405170 text on white | 7.98:1 | AAA | Lc 87.6 | Fine for body text |
| #405170 text on black | 2.62:1 | Fails | Lc -14.5 | 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
#F4F5F8
oklch(97% 0.004 271.4)
-
Step 100
100
#E6EAF0
oklch(93.6% 0.009 258.3)
-
Step 200
200
#D3D9E6
oklch(88.5% 0.019 266)
-
Step 300
300
#B5C1D6
oklch(80.8% 0.032 261.7)
-
Step 400
400
#8FA1C2
oklch(70.6% 0.053 262.5)
-
Step 500
500
#738AB3
oklch(63.1% 0.068 261.8)
-
Step 600
600
#5C739E
oklch(55.5% 0.073 262.5)
-
Step 700
700
#4C6187
oklch(49.2% 0.066 261.9)
-
Step 800
800 (this color)
#405170
oklch(43.4% 0.056 262.1)
-
Step 900
900
#354259
oklch(37.8% 0.043 261.6)
-
Step 950
950
#1F2734
oklch(27.1% 0.027 260)
#405170 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) | #465371 | 0.011 |
| Deuteranopia (no green cones) | #414F6F | 0.006 |
| Tritanopia (no blue cones) | #30585C | 0.050 |
| Achromatopsia (no color) | #515151 | 0.056 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405170
#405170
oklch(43.4% 0.056 262.1)
- #604E2C
#604E2C
oklch(43.4% 0.055 82.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 #405170, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- YInMn Blue #415A77 ΔE 0.027
- Dusk #4E5481 ΔE 0.036
- Dusty Grape #545775 ΔE 0.037
- Light Navy Blue #2E5A88 ΔE 0.044
- Twilight #4E518B ΔE 0.051
- Light Navy #155084 ΔE 0.053
- Dusk Blue #26538D ΔE 0.053
- Deep Sea Blue #015482 ΔE 0.053
Use #405170 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.