#5864E5
Closest named color: Royal Blue (#4169E1). oklch(56.6% 0.193 274.4), rgb(88, 100, 229).
Aa
White text reads best on this color (4.80:1).
About this color
#5864E5 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.193 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.028 away. White text reads best on it, at 4.80:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.193) |
| Temperature | cool |
| Nearest name | Royal Blue (#4169E1) |
| Black text | 4.36:1 |
| White text | 4.80:1 |
Values
| HEX | #5864E5 |
| RGB | rgb(88, 100, 229) |
| HSL | hsl(235, 73%, 62%) |
| OKLCH | oklch(56.6% 0.193 274.4) |
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 #5864E5 | 4.80:1 | AA | Lc -78.4 | Fine for body text |
| Black text on #5864E5 | 4.36:1 | AA large text | Lc 31.1 | Non-text elements, placeholder text |
| #5864E5 text on white | 4.80:1 | AA | Lc 72.9 | Content text, not long reading |
| #5864E5 text on black | 4.36:1 | AA large text | Lc -28.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
#F3F5FE
oklch(97.1% 0.012 276.1)
-
Step 100
100
#E4E9FB
oklch(93.6% 0.025 273.5)
-
Step 200
200
#CFD7FA
oklch(88.4% 0.049 275.2)
-
Step 300
300
#AFBDF9
oklch(80.9% 0.086 274.1)
-
Step 400
400
#8798F7
oklch(70.7% 0.14 274.6)
-
Step 500
500
#6B7BF3
oklch(63% 0.179 274.4)
-
Step 600
600 (this color)
#5864E5
oklch(56.6% 0.193 274.4)
-
Step 700
700
#464FC4
oklch(49.1% 0.18 274.3)
-
Step 800
800
#39429E
oklch(42.7% 0.148 274.1)
-
Step 900
900
#31397E
oklch(37.8% 0.116 274.5)
-
Step 950
950
#1C224A
oklch(27% 0.074 274)
#5864E5 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) | #0078E9 | 0.067 |
| Deuteranopia (no green cones) | #006CE2 | 0.060 |
| Tritanopia (no blue cones) | #00839B | 0.164 |
| Achromatopsia (no color) | #727272 | 0.194 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5864E5
#5864E5
oklch(56.6% 0.193 274.4)
- #8C7400
#8C7400
oklch(56.5% 0.116 94.5)
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 #5864E5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Royal Blue #4169E1 ΔE 0.028
- Neon Blue #4361EE ΔE 0.030
- Dark Periwinkle #665FD1 ΔE 0.036
- Warm Blue #4B57DB ΔE 0.040
- Slate Blue #6A5ACD ΔE 0.047
- Light Indigo #6D5ACF ΔE 0.047
- Medium Slate Blue #7B68EE ΔE 0.054
- Iris #6258C4 ΔE 0.057
Use #5864E5 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.