#405BD4
Closest named color: Warm Blue (#4B57DB). oklch(52.2% 0.188 269.3), rgb(64, 91, 212).
Aa
White text reads best on this color (5.72:1).
About this color
#405BD4 is a medium-dark, vivid blue. In OKLCH its lightness is 52%, its chroma 0.188 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.018 away. White text reads best on it, at 5.72:1.
| Hue family | Blues |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.188) |
| Temperature | cool |
| Nearest name | Warm Blue (#4B57DB) |
| Black text | 3.66:1 |
| White text | 5.72:1 |
Values
| HEX | #405BD4 |
| RGB | rgb(64, 91, 212) |
| HSL | hsl(229, 63%, 54%) |
| OKLCH | oklch(52.2% 0.188 269.3) |
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 #405BD4 | 5.72:1 | AA | Lc -83.5 | Fine for body text |
| Black text on #405BD4 | 3.66:1 | AA large text | Lc 25.9 | Dividers and decoration only |
| #405BD4 text on white | 5.72:1 | AA | Lc 78.2 | Fine for body text |
| #405BD4 text on black | 3.66:1 | AA large text | Lc -23.6 | 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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E3EAFC
oklch(93.7% 0.025 268.8)
-
Step 200
200
#CBD8FC
oklch(88.4% 0.052 269.6)
-
Step 300
300
#A9BFFC
oklch(81% 0.09 269)
-
Step 400
400
#7C9AFB
oklch(70.6% 0.146 269.4)
-
Step 500
500
#5D7EF8
oklch(63.1% 0.185 269.1)
-
Step 600
600
#4663E7
oklch(55.5% 0.202 269.3)
-
Step 700
700 (this color)
#405BD4
oklch(52.2% 0.188 269.3)
-
Step 800
800
#2E43A3
oklch(42.7% 0.157 269.2)
-
Step 900
900
#283A81
oklch(37.7% 0.122 269.1)
-
Step 950
950
#18234C
oklch(27.1% 0.077 269.4)
#405BD4 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) | #006DD8 | 0.050 |
| Deuteranopia (no green cones) | #0060D2 | 0.038 |
| Tritanopia (no blue cones) | #00798F | 0.152 |
| Achromatopsia (no color) | #666666 | 0.189 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405BD4
#405BD4
oklch(52.2% 0.188 269.3)
- #826500
#826500
oklch(52.1% 0.106 88.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 #405BD4, closest first.
No curated palette has a color within ΔE 0.04 of #405BD4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Blue #4B57DB ΔE 0.018
- Royal Blue #4169E1 ΔE 0.039
- Neon Blue #4361EE ΔE 0.042
- Azul #1D5DEC ΔE 0.045
- Iris #6258C4 ΔE 0.050
- Dark Periwinkle #665FD1 ΔE 0.053
- Slate Blue #6A5ACD ΔE 0.058
- Cerulean Blue #056EEE ΔE 0.061
Use #405BD4 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.