#5A87DF
Closest named color: Soft Blue (#6488EA). oklch(63.2% 0.142 262.6), rgb(90, 135, 223).
Aa
Black text reads best on this color (5.96:1).
About this color
#5A87DF is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.142 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.021 away. Black text reads best on it, at 5.96:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.142) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.96:1 |
| White text | 3.52:1 |
Values
| HEX | #5A87DF |
| RGB | rgb(90, 135, 223) |
| HSL | hsl(220, 68%, 61%) |
| OKLCH | oklch(63.2% 0.142 262.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 #5A87DF | 3.52:1 | AA large text | Lc -68.0 | Content text, not long reading |
| Black text on #5A87DF | 5.96:1 | AA | Lc 41.5 | Non-text elements, placeholder text |
| #5A87DF text on white | 3.52:1 | AA large text | Lc 62.6 | Content text, not long reading |
| #5A87DF text on black | 5.96:1 | AA | Lc -39.1 | 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
#F2F6FC
oklch(97.2% 0.009 258.3)
-
Step 100
100
#E3EAF8
oklch(93.6% 0.02 264.5)
-
Step 200
200
#CCDAF3
oklch(88.6% 0.038 262.1)
-
Step 300
300
#A9C1EE
oklch(80.8% 0.069 262.9)
-
Step 400
400
#7BA0E6
oklch(70.7% 0.111 262.5)
-
Step 500
500 (this color)
#5A87DF
oklch(63.2% 0.142 262.6)
-
Step 600
600
#406FCC
oklch(55.7% 0.153 262.4)
-
Step 700
700
#325CB1
oklch(49.1% 0.143 262.6)
-
Step 800
800
#2A4B8F
oklch(42.6% 0.119 262.9)
-
Step 900
900
#264072
oklch(37.8% 0.092 262.2)
-
Step 950
950
#162643
oklch(27.1% 0.058 261.5)
#5A87DF 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) | #618FE2 | 0.024 |
| Deuteranopia (no green cones) | #4F83DD | 0.017 |
| Tritanopia (no blue cones) | #009BA8 | 0.123 |
| Achromatopsia (no color) | #898989 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5A87DF
#5A87DF
oklch(63.2% 0.142 262.6)
- #B08100
#B08100
oklch(63.3% 0.13 82.8)
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 #5A87DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.021
- Dark Sky Blue #448EE4 ΔE 0.024
- Chefchaouen Blue #4895EF ΔE 0.040
- Cornflower Blue #6495ED ΔE 0.043
- Cornflower #6A79F7 ΔE 0.056
- Dodger Blue #1E90FF ΔE 0.059
- Water Blue #0E87CC ΔE 0.059
- Faded Blue #658CBB ΔE 0.061
Use #5A87DF 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.