#5F87FA
Closest named color: Soft Blue (#6488EA). oklch(65.1% 0.177 267), rgb(95, 135, 250).
Aa
Black text reads best on this color (6.33:1).
About this color
#5F87FA is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.177 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.025 away. Black text reads best on it, at 6.33:1.
| Hue family | Blues |
| Lightness | medium-light (65%) |
| Chroma | vivid (0.177) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 6.33:1 |
| White text | 3.31:1 |
Values
| HEX | #5F87FA |
| RGB | rgb(95, 135, 250) |
| HSL | hsl(225, 94%, 68%) |
| OKLCH | oklch(65.1% 0.177 267) |
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 #5F87FA | 3.31:1 | AA large text | Lc -65.7 | Content text, not long reading |
| Black text on #5F87FA | 6.33:1 | AA | Lc 43.8 | Non-text elements, placeholder text |
| #5F87FA text on white | 3.31:1 | AA large text | Lc 60.3 | Content text, not long reading |
| #5F87FA text on black | 6.33:1 | AA | Lc -41.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
#F2F5FE
oklch(97% 0.012 271.3)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CBD9FA
oklch(88.5% 0.048 267.2)
-
Step 300
300
#A8C0F9
oklch(81% 0.085 266.8)
-
Step 400
400
#7A9CF7
oklch(70.7% 0.139 267.3)
-
Step 500
500 (this color)
#5F87FA
oklch(65.1% 0.177 267)
-
Step 600
600
#4167E2
oklch(55.7% 0.192 267)
-
Step 700
700
#3454C4
oklch(49% 0.179 267.3)
-
Step 800
800
#2B469F
oklch(42.8% 0.148 267.1)
-
Step 900
900
#263C7E
oklch(37.7% 0.115 266.9)
-
Step 950
950
#16244A
oklch(27.1% 0.073 266.4)
#5F87FA 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) | #4E95FE | 0.036 |
| Deuteranopia (no green cones) | #3386F8 | 0.038 |
| Tritanopia (no blue cones) | #00A1B4 | 0.150 |
| Achromatopsia (no color) | #8D8D8D | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F87FA
#5F87FA
oklch(65.1% 0.177 267)
- #B28900
#B28900
oklch(65.1% 0.133 87.3)
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 #5F87FA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.025
- Cornflower #6A79F7 ΔE 0.035
- Chefchaouen Blue #4895EF ΔE 0.045
- Cornflower Blue #6495ED ΔE 0.045
- Dodger Blue #1E90FF ΔE 0.046
- Dark Sky Blue #448EE4 ΔE 0.047
- Lavender Blue #8B88F8 ΔE 0.056
- Periwinkle #8E82FE ΔE 0.060
Use #5F87FA 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.