#405C9D
Closest named color: Denim Blue (#3B5B92). oklch(48.5% 0.11 265), rgb(64, 92, 157).
Aa
White text reads best on this color (6.49:1).
About this color
#405C9D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 49%, its chroma 0.110 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.019 away. White text reads best on it, at 6.49:1.
| Hue family | Blues |
| Lightness | medium-dark (49%) |
| Chroma | moderately saturated (0.110) |
| Temperature | cool |
| Nearest name | Denim Blue (#3B5B92) |
| Black text | 3.23:1 |
| White text | 6.49:1 |
Values
| HEX | #405C9D |
| RGB | rgb(64, 92, 157) |
| HSL | hsl(222, 42%, 43%) |
| OKLCH | oklch(48.5% 0.11 265) |
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 #405C9D | 6.49:1 | AA | Lc -87.1 | Fine for body text |
| Black text on #405C9D | 3.23:1 | AA large text | Lc 22.0 | Dividers and decoration only |
| #405C9D text on white | 6.49:1 | AA | Lc 82.0 | Fine for body text |
| #405C9D text on black | 3.23:1 | AA large text | Lc -19.9 | 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
#F3F5FA
oklch(97% 0.007 268.5)
-
Step 100
100
#E5EAF5
oklch(93.6% 0.016 266.3)
-
Step 200
200
#D0D9ED
oklch(88.5% 0.029 266.4)
-
Step 300
300
#B0C1E4
oklch(81% 0.053 264.7)
-
Step 400
400
#87A0D6
oklch(70.7% 0.084 265.1)
-
Step 500
500
#6988CC
oklch(63.2% 0.109 264.8)
-
Step 600
600
#5170B8
oklch(55.5% 0.118 265.2)
-
Step 700
700 (this color)
#405C9D
oklch(48.5% 0.11 265)
-
Step 800
800
#364D81
oklch(42.8% 0.091 264.8)
-
Step 900
900
#2F4067
oklch(37.6% 0.071 265.3)
-
Step 950
950
#1C263D
oklch(27.1% 0.045 265.6)
#405C9D 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) | #4063A0 | 0.020 |
| Deuteranopia (no green cones) | #345A9C | 0.015 |
| Tritanopia (no blue cones) | #006A75 | 0.096 |
| Achromatopsia (no color) | #5E5E5E | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405C9D
#405C9D
oklch(48.5% 0.11 265)
- #795A00
#795A00
oklch(48.7% 0.1 85.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 #405C9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim Blue #3B5B92 ΔE 0.019
- Dusky Blue #475F94 ΔE 0.020
- Denim #3B638C ΔE 0.038
- Twilight #4E518B ΔE 0.040
- Light Navy Blue #2E5A88 ΔE 0.041
- French Blue #436BAD ΔE 0.046
- Dusk Blue #26538D ΔE 0.047
- Dusk #4E5481 ΔE 0.048
Use #405C9D 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.