#405172
Closest named color: YInMn Blue (#415A77). oklch(43.5% 0.059 263.2), rgb(64, 81, 114).
Aa
White text reads best on this color (7.96:1).
About this color
#405172 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.059 and its hue 263°. 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.96:1.
| Hue family | Blues |
| Lightness | dark (44%) |
| Chroma | muted (0.059) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.63:1 |
| White text | 7.96:1 |
Values
| HEX | #405172 |
| RGB | rgb(64, 81, 114) |
| HSL | hsl(220, 28%, 35%) |
| OKLCH | oklch(43.5% 0.059 263.2) |
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 #405172 | 7.96:1 | AAA | Lc -92.2 | Preferred for body text |
| Black text on #405172 | 2.63:1 | Fails | Lc 16.4 | Dividers and decoration only |
| #405172 text on white | 7.96:1 | AAA | Lc 87.6 | Fine for body text |
| #405172 text on black | 2.63:1 | Fails | Lc -14.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
#F4F5F9
oklch(97.1% 0.005 275)
-
Step 100
100
#E6EAF1
oklch(93.6% 0.01 261.8)
-
Step 200
200
#D3D9E6
oklch(88.5% 0.019 266)
-
Step 300
300
#B5C1D8
oklch(80.9% 0.035 263.5)
-
Step 400
400
#8FA1C4
oklch(70.7% 0.055 263.6)
-
Step 500
500
#738AB5
oklch(63.2% 0.07 262.7)
-
Step 600
600
#5C73A1
oklch(55.6% 0.077 263.6)
-
Step 700
700
#4B6089
oklch(49% 0.071 263.2)
-
Step 800
800 (this color)
#405172
oklch(43.5% 0.059 263.2)
-
Step 900
900
#35425A
oklch(37.8% 0.045 262.4)
-
Step 950
950
#1F2635
oklch(26.9% 0.03 265.1)
#405172 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) | #455373 | 0.010 |
| Deuteranopia (no green cones) | #404F71 | 0.006 |
| Tritanopia (no blue cones) | #2F585D | 0.052 |
| Achromatopsia (no color) | #515151 | 0.059 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405172
#405172
oklch(43.5% 0.059 263.2)
- #614E29
#614E29
oklch(43.5% 0.059 82.8)
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 #405172, 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.034
- Dusty Grape #545775 ΔE 0.036
- Light Navy Blue #2E5A88 ΔE 0.042
- Twilight #4E518B ΔE 0.048
- Dusk Blue #26538D ΔE 0.050
- Light Navy #155084 ΔE 0.051
- Deep Sea Blue #015482 ΔE 0.052
Use #405172 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.