#5D71EB
Closest named color: Cornflower (#6A79F7). oklch(59.7% 0.184 272.6), rgb(93, 113, 235).
Aa
Black text reads best on this color (5.02:1).
About this color
#5D71EB is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.184 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.032 away. Black text reads best on it, at 5.02:1.
| Hue family | Blues |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.184) |
| Temperature | cool |
| Nearest name | Cornflower (#6A79F7) |
| Black text | 5.02:1 |
| White text | 4.17:1 |
Values
| HEX | #5D71EB |
| RGB | rgb(93, 113, 235) |
| HSL | hsl(232, 78%, 64%) |
| OKLCH | oklch(59.7% 0.184 272.6) |
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 #5D71EB | 4.17:1 | AA large text | Lc -74.0 | Content text, not long reading |
| Black text on #5D71EB | 5.02:1 | AA | Lc 35.6 | Non-text elements, placeholder text |
| #5D71EB text on white | 4.17:1 | AA large text | Lc 68.5 | Content text, not long reading |
| #5D71EB text on black | 5.02:1 | AA | Lc -33.2 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E4E9FC
oklch(93.6% 0.026 274.1)
-
Step 200
200
#CED8FB
oklch(88.6% 0.049 272.8)
-
Step 300
300
#ADBDFB
oklch(80.8% 0.09 273.1)
-
Step 400
400
#8399FA
oklch(70.8% 0.144 272.6)
-
Step 500
500 (this color)
#5D71EB
oklch(59.7% 0.184 272.6)
-
Step 600
600
#5061E6
oklch(55.6% 0.2 272.6)
-
Step 700
700
#414FC8
oklch(49.1% 0.187 272.4)
-
Step 800
800
#3642A1
oklch(42.8% 0.153 272.7)
-
Step 900
900
#2E3980
oklch(37.7% 0.12 272.7)
-
Step 950
950
#1B224B
oklch(27% 0.076 273)
#5D71EB 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) | #2782EF | 0.056 |
| Deuteranopia (no green cones) | #0076E8 | 0.060 |
| Tritanopia (no blue cones) | #008DA3 | 0.158 |
| Achromatopsia (no color) | #7C7C7C | 0.184 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5D71EB
#5D71EB
oklch(59.7% 0.184 272.6)
- #997C00
#997C00
oklch(59.7% 0.122 92.4)
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 #5D71EB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower #6A79F7 ΔE 0.032
- Royal Blue #4169E1 ΔE 0.043
- Medium Slate Blue #7B68EE ΔE 0.044
- Neon Blue #4361EE ΔE 0.053
- Clear Blue #247AFD ΔE 0.054
- Dark Periwinkle #665FD1 ΔE 0.056
- Soft Blue #6488EA ΔE 0.060
- Cerulean Blue #056EEE ΔE 0.064
Use #5D71EB 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.