#5B87DF
Closest named color: Soft Blue (#6488EA). oklch(63.3% 0.142 262.9), rgb(91, 135, 223).
Aa
Black text reads best on this color (5.97:1).
About this color
#5B87DF 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.020 away. Black text reads best on it, at 5.97:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.142) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 5.97:1 |
| White text | 3.51:1 |
Values
| HEX | #5B87DF |
| RGB | rgb(91, 135, 223) |
| HSL | hsl(220, 67%, 62%) |
| OKLCH | oklch(63.3% 0.142 262.9) |
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 #5B87DF | 3.51:1 | AA large text | Lc -68.0 | Content text, not long reading |
| Black text on #5B87DF | 5.97:1 | AA | Lc 41.6 | Non-text elements, placeholder text |
| #5B87DF text on white | 3.51:1 | AA large text | Lc 62.5 | Content text, not long reading |
| #5B87DF text on black | 5.97:1 | AA | Lc -39.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
#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
#7CA0E6
oklch(70.8% 0.111 263)
-
Step 500
500 (this color)
#5B87DF
oklch(63.3% 0.142 262.9)
-
Step 600
600
#416ECC
oklch(55.5% 0.154 263.1)
-
Step 700
700
#335CB1
oklch(49.2% 0.143 262.9)
-
Step 800
800
#2B4B8F
oklch(42.6% 0.119 263.3)
-
Step 900
900
#263F72
oklch(37.6% 0.093 263)
-
Step 950
950
#172543
oklch(26.9% 0.059 264)
#5B87DF 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.023 |
| Deuteranopia (no green cones) | #4F83DD | 0.018 |
| Tritanopia (no blue cones) | #009BA8 | 0.124 |
| Achromatopsia (no color) | #898989 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B87DF
#5B87DF
oklch(63.3% 0.142 262.9)
- #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 #5B87DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.020
- Dark Sky Blue #448EE4 ΔE 0.025
- Chefchaouen Blue #4895EF ΔE 0.041
- Cornflower Blue #6495ED ΔE 0.042
- Cornflower #6A79F7 ΔE 0.056
- Dodger Blue #1E90FF ΔE 0.059
- Water Blue #0E87CC ΔE 0.060
- Faded Blue #658CBB ΔE 0.061
Use #5B87DF 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.