#405AAB
Closest named color: Denim Blue (#3B5B92). oklch(49% 0.133 267.9), rgb(64, 90, 171).
Aa
White text reads best on this color (6.42:1).
About this color
#405AAB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.133 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.042 away. White text reads best on it, at 6.42:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.133) |
| Temperature | cool |
| Nearest name | Denim Blue (#3B5B92) |
| Black text | 3.26:1 |
| White text | 6.42:1 |
Values
| HEX | #405AAB |
| RGB | rgb(64, 90, 171) |
| HSL | hsl(225, 46%, 46%) |
| OKLCH | oklch(49% 0.133 267.9) |
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 #405AAB | 6.42:1 | AA | Lc -86.8 | Fine for body text |
| Black text on #405AAB | 3.26:1 | AA large text | Lc 22.4 | Dividers and decoration only |
| #405AAB text on white | 6.42:1 | AA | Lc 81.7 | Fine for body text |
| #405AAB text on black | 3.26:1 | AA large text | Lc -20.2 | 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
#E4EAF7
oklch(93.6% 0.019 266)
-
Step 200
200
#CFD9F2
oklch(88.5% 0.036 268.3)
-
Step 300
300
#AFC0EB
oklch(80.9% 0.064 268.1)
-
Step 400
400
#859EE1
oklch(70.7% 0.103 268.1)
-
Step 500
500
#6785D9
oklch(63.2% 0.131 267.7)
-
Step 600
600
#4F6DC6
oklch(55.6% 0.142 267.6)
-
Step 700
700 (this color)
#405AAB
oklch(49% 0.133 267.9)
-
Step 800
800
#354A8B
oklch(42.7% 0.111 268)
-
Step 900
900
#2E3E6F
oklch(37.6% 0.086 268.4)
-
Step 950
950
#1B2541
oklch(27% 0.054 267.8)
#405AAB 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) | #3264AE | 0.028 |
| Deuteranopia (no green cones) | #1F5AA9 | 0.031 |
| Tritanopia (no blue cones) | #006C7A | 0.113 |
| Achromatopsia (no color) | #5F5F5F | 0.133 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405AAB
#405AAB
oklch(49% 0.133 267.9)
- #785C00
#785C00
oklch(49% 0.1 87.9)
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 #405AAB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim Blue #3B5B92 ΔE 0.042
- Dusky Blue #475F94 ΔE 0.043
- Mid Blue #276AB3 ΔE 0.045
- French Blue #436BAD ΔE 0.048
- Twilight #4E518B ΔE 0.055
- Dusk Blue #26538D ΔE 0.060
- Denim #3B638C ΔE 0.061
- Light Navy Blue #2E5A88 ΔE 0.062
Use #405AAB 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.