#5F87DF
Closest named color: Soft Blue (#6488EA). oklch(63.5% 0.14 264.3), rgb(95, 135, 223).
Aa
Black text reads best on this color (6.01:1).
About this color
#5F87DF is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.140 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.018 away. Black text reads best on it, at 6.01:1.
| Hue family | Blues |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.140) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 6.01:1 |
| White text | 3.48:1 |
Values
| HEX | #5F87DF |
| RGB | rgb(95, 135, 223) |
| HSL | hsl(221, 67%, 62%) |
| OKLCH | oklch(63.5% 0.14 264.3) |
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 #5F87DF | 3.48:1 | AA large text | Lc -67.7 | Content text, not long reading |
| Black text on #5F87DF | 6.01:1 | AA | Lc 41.8 | Non-text elements, placeholder text |
| #5F87DF text on white | 3.48:1 | AA large text | Lc 62.3 | Content text, not long reading |
| #5F87DF text on black | 6.01:1 | AA | Lc -39.4 | 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
#F2F5FC
oklch(97% 0.01 267.4)
-
Step 100
100
#E3EAF8
oklch(93.6% 0.02 264.5)
-
Step 200
200
#CDD9F3
oklch(88.4% 0.038 265.8)
-
Step 300
300
#ABC1EE
oklch(81% 0.068 264.5)
-
Step 400
400
#7E9FE5
oklch(70.6% 0.11 264.5)
-
Step 500
500 (this color)
#5F87DF
oklch(63.5% 0.14 264.3)
-
Step 600
600
#456ECB
oklch(55.6% 0.151 264.2)
-
Step 700
700
#375BB0
oklch(49.1% 0.142 264.5)
-
Step 800
800
#2D4B8E
oklch(42.7% 0.117 264)
-
Step 900
900
#283F72
oklch(37.7% 0.092 264.2)
-
Step 950
950
#182543
oklch(27% 0.059 265)
#5F87DF 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) | #6290E2 | 0.025 |
| Deuteranopia (no green cones) | #5184DD | 0.018 |
| Tritanopia (no blue cones) | #009BA8 | 0.125 |
| Achromatopsia (no color) | #898989 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F87DF
#5F87DF
oklch(63.5% 0.14 264.3)
- #AF8300
#AF8300
oklch(63.6% 0.13 84.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 #5F87DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.018
- Dark Sky Blue #448EE4 ΔE 0.028
- Cornflower Blue #6495ED ΔE 0.041
- Chefchaouen Blue #4895EF ΔE 0.042
- Cornflower #6A79F7 ΔE 0.055
- Faded Blue #658CBB ΔE 0.060
- Dodger Blue #1E90FF ΔE 0.062
- Water Blue #0E87CC ΔE 0.064
Use #5F87DF 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.