#405174
Closest named color: YInMn Blue (#415A77). oklch(43.6% 0.062 264.1), rgb(64, 81, 116).
Aa
White text reads best on this color (7.93:1).
About this color
#405174 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.062 and its hue 264°. 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.93:1.
| Hue family | Blues |
| Lightness | dark (44%) |
| Chroma | muted (0.062) |
| Temperature | cool |
| Nearest name | YInMn Blue (#415A77) |
| Black text | 2.64:1 |
| White text | 7.93:1 |
Values
| HEX | #405174 |
| RGB | rgb(64, 81, 116) |
| HSL | hsl(220, 29%, 35%) |
| OKLCH | oklch(43.6% 0.062 264.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 #405174 | 7.93:1 | AAA | Lc -92.2 | Preferred for body text |
| Black text on #405174 | 2.64:1 | Fails | Lc 16.5 | Dividers and decoration only |
| #405174 text on white | 7.93:1 | AAA | Lc 87.5 | Fine for body text |
| #405174 text on black | 2.64:1 | Fails | Lc -14.7 | 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
#D2D9E7
oklch(88.4% 0.021 264.5)
-
Step 300
300
#B5C1D9
oklch(80.9% 0.036 264.3)
-
Step 400
400
#8EA1C6
oklch(70.7% 0.058 263.6)
-
Step 500
500
#7389B7
oklch(63.1% 0.074 264.6)
-
Step 600
600
#5B73A3
oklch(55.7% 0.08 263.6)
-
Step 700
700
#4B608C
oklch(49.1% 0.076 264.3)
-
Step 800
800 (this color)
#405174
oklch(43.6% 0.062 264.1)
-
Step 900
900
#34415C
oklch(37.6% 0.05 264.3)
-
Step 950
950
#1F2636
oklch(26.9% 0.032 266.1)
#405174 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) | #445476 | 0.011 |
| Deuteranopia (no green cones) | #3F4F73 | 0.006 |
| Tritanopia (no blue cones) | #2E585D | 0.055 |
| Achromatopsia (no color) | #515151 | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405174
#405174
oklch(43.6% 0.062 264.1)
- #624F27
#624F27
oklch(43.8% 0.062 84.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 #405174, 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.031
- Dusty Grape #545775 ΔE 0.036
- Light Navy Blue #2E5A88 ΔE 0.039
- Twilight #4E518B ΔE 0.045
- Dusk Blue #26538D ΔE 0.048
- Light Navy #155084 ΔE 0.049
- Deep Sea Blue #015482 ΔE 0.051
Use #405174 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.