#405CA4
Closest named color: Dusky Blue (#475F94). oklch(49% 0.12 266.1), rgb(64, 92, 164).
Aa
White text reads best on this color (6.39:1).
About this color
#405CA4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.120 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.030 away. White text reads best on it, at 6.39:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.120) |
| Temperature | cool |
| Nearest name | Dusky Blue (#475F94) |
| Black text | 3.28:1 |
| White text | 6.39:1 |
Values
| HEX | #405CA4 |
| RGB | rgb(64, 92, 164) |
| HSL | hsl(223, 44%, 45%) |
| OKLCH | oklch(49% 0.12 266.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 #405CA4 | 6.39:1 | AA | Lc -86.7 | Fine for body text |
| Black text on #405CA4 | 3.28:1 | AA large text | Lc 22.5 | Dividers and decoration only |
| #405CA4 text on white | 6.39:1 | AA | Lc 81.6 | Fine for body text |
| #405CA4 text on black | 3.28:1 | AA large text | Lc -20.3 | 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 700.
-
Step 50
50
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E5EAF6
oklch(93.7% 0.017 267.8)
-
Step 200
200
#CFD9EF
oklch(88.4% 0.032 266.1)
-
Step 300
300
#AFC0E7
oklch(80.8% 0.058 266.6)
-
Step 400
400
#859FDB
oklch(70.6% 0.093 266)
-
Step 500
500
#6886D1
oklch(63% 0.119 266.5)
-
Step 600
600
#4F6FBF
oklch(55.6% 0.13 265.9)
-
Step 700
700 (this color)
#405CA4
oklch(49% 0.12 266.1)
-
Step 800
800
#354C85
oklch(42.7% 0.099 265.8)
-
Step 900
900
#2E406B
oklch(37.8% 0.077 265.7)
-
Step 950
950
#1B253E
oklch(26.8% 0.049 266.6)
#405CA4 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) | #3B64A7 | 0.022 |
| Deuteranopia (no green cones) | #2D5BA2 | 0.021 |
| Tritanopia (no blue cones) | #006C78 | 0.104 |
| Achromatopsia (no color) | #5F5F5F | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405CA4
#405CA4
oklch(49% 0.12 266.1)
- #795B00
#795B00
oklch(48.9% 0.1 86.2)
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 #405CA4, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dusky Blue #475F94 ΔE 0.030
- Denim Blue #3B5B92 ΔE 0.030
- French Blue #436BAD ΔE 0.043
- Mid Blue #276AB3 ΔE 0.043
- Twilight #4E518B ΔE 0.047
- Denim #3B638C ΔE 0.048
- Light Navy Blue #2E5A88 ΔE 0.051
- Dusk Blue #26538D ΔE 0.054
Use #405CA4 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.