#406DE2
Closest named color: Royal Blue (#4169E1). oklch(56.8% 0.185 265.1), rgb(64, 109, 226).
Aa
White text reads best on this color (4.66:1).
About this color
#406DE2 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.185 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.010 away. White text reads best on it, at 4.66:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.185) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.50:1 |
| White text | 4.66:1 |
Values
| HEX | #406DE2 |
| RGB | rgb(64, 109, 226) |
| HSL | hsl(223, 74%, 57%) |
| OKLCH | oklch(56.8% 0.185 265.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 #406DE2 | 4.66:1 | AA | Lc -77.4 | Fine for body text |
| Black text on #406DE2 | 4.50:1 | AA | Lc 32.1 | Non-text elements, placeholder text |
| #406DE2 text on white | 4.66:1 | AA | Lc 71.9 | Content text, not long reading |
| #406DE2 text on black | 4.50:1 | AA | Lc -29.7 | 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
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CAD9F9
oklch(88.4% 0.047 265.5)
-
Step 300
300
#A7C0F7
oklch(80.9% 0.083 265.6)
-
Step 400
400
#789EF4
oklch(70.8% 0.133 265.1)
-
Step 500
500
#5683EF
oklch(63.2% 0.169 264.9)
-
Step 600
600 (this color)
#406DE2
oklch(56.8% 0.185 265.1)
-
Step 700
700
#2F57C1
oklch(49.2% 0.172 265)
-
Step 800
800
#28489C
oklch(42.8% 0.142 265.1)
-
Step 900
900
#243D7C
oklch(37.7% 0.111 265.2)
-
Step 950
950
#152448
oklch(26.9% 0.07 265)
#406DE2 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) | #1E7CE6 | 0.040 |
| Deuteranopia (no green cones) | #006DE0 | 0.033 |
| Tritanopia (no blue cones) | #00899D | 0.148 |
| Achromatopsia (no color) | #747474 | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #406DE2
#406DE2
oklch(56.8% 0.185 265.1)
- #967000
#967000
oklch(56.8% 0.116 84.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 #406DE2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.010
- Neon Blue #4361EE ΔE 0.034
- Cerulean Blue #056EEE ΔE 0.034
- Clear Blue #247AFD ΔE 0.050
- Warm Blue #4B57DB ΔE 0.052
- Azul #1D5DEC ΔE 0.053
- Bright Blue #0165FC ΔE 0.056
- Dark Periwinkle #665FD1 ΔE 0.057
Use #406DE2 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.