#405DD5
Closest named color: Warm Blue (#4B57DB). oklch(52.7% 0.187 268.8), rgb(64, 93, 213).
Aa
White text reads best on this color (5.60:1).
About this color
#405DD5 is a medium-dark, vivid blue. In OKLCH its lightness is 53%, its chroma 0.187 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Warm Blue (#4B57DB), ΔE 0.020 away. White text reads best on it, at 5.60:1.
| Hue family | Blues |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.187) |
| Temperature | cool |
| Nearest name | Warm Blue (#4B57DB) |
| Black text | 3.74:1 |
| White text | 5.60:1 |
Values
| HEX | #405DD5 |
| RGB | rgb(64, 93, 213) |
| HSL | hsl(228, 64%, 54%) |
| OKLCH | oklch(52.7% 0.187 268.8) |
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 #405DD5 | 5.60:1 | AA | Lc -82.9 | Fine for body text |
| Black text on #405DD5 | 3.74:1 | AA large text | Lc 26.5 | Dividers and decoration only |
| #405DD5 text on white | 5.60:1 | AA | Lc 77.6 | Fine for body text |
| #405DD5 text on black | 3.74:1 | AA large text | Lc -24.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 600.
-
Step 50
50
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E3EAFB
oklch(93.7% 0.024 267.9)
-
Step 200
200
#CCD9F9
oklch(88.6% 0.046 267.9)
-
Step 300
300
#AABFF8
oklch(80.9% 0.084 268.8)
-
Step 400
400
#7E9CF5
oklch(70.8% 0.135 268.7)
-
Step 500
500
#5F80F0
oklch(63.1% 0.172 268.8)
-
Step 600
600 (this color)
#405DD5
oklch(52.7% 0.187 268.8)
-
Step 700
700
#3954C2
oklch(49.1% 0.175 268.7)
-
Step 800
800
#2F459D
oklch(42.6% 0.145 268.8)
-
Step 900
900
#293B7C
oklch(37.5% 0.112 268.8)
-
Step 950
950
#182349
oklch(26.9% 0.072 269)
#405DD5 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) | #006FD9 | 0.050 |
| Deuteranopia (no green cones) | #0061D3 | 0.037 |
| Tritanopia (no blue cones) | #007A90 | 0.150 |
| Achromatopsia (no color) | #686868 | 0.187 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #405DD5
#405DD5
oklch(52.7% 0.187 268.8)
- #846700
#846700
oklch(52.8% 0.108 89.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 #405DD5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Blue #4B57DB ΔE 0.020
- Royal Blue #4169E1 ΔE 0.034
- Neon Blue #4361EE ΔE 0.040
- Azul #1D5DEC ΔE 0.044
- Iris #6258C4 ΔE 0.051
- Dark Periwinkle #665FD1 ΔE 0.051
- Slate Blue #6A5ACD ΔE 0.057
- Cerulean Blue #056EEE ΔE 0.058
Use #405DD5 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.