#5F8EFB
Closest named color: Soft Blue (#6488EA). oklch(66.6% 0.17 264.7), rgb(95, 142, 251).
Aa
Black text reads best on this color (6.74:1).
About this color
#5F8EFB is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.170 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.027 away. Black text reads best on it, at 6.74:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.170) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 6.74:1 |
| White text | 3.11:1 |
Values
| HEX | #5F8EFB |
| RGB | rgb(95, 142, 251) |
| HSL | hsl(222, 95%, 68%) |
| OKLCH | oklch(66.6% 0.17 264.7) |
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 #5F8EFB | 3.11:1 | AA large text | Lc -63.2 | Content text, not long reading |
| Black text on #5F8EFB | 6.74:1 | AA | Lc 46.2 | Large or bold text, headings |
| #5F8EFB text on white | 3.11:1 | AA large text | Lc 57.8 | Large or bold text, headings |
| #5F8EFB text on black | 6.74:1 | AA | Lc -43.9 | 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
#F2F6FD
oklch(97.2% 0.01 261.8)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CAD9F9
oklch(88.4% 0.047 265.5)
-
Step 300
300
#A6C0F7
oklch(80.8% 0.083 264.9)
-
Step 400
400
#779EF3
oklch(70.7% 0.132 264.6)
-
Step 500
500 (this color)
#5F8EFB
oklch(66.6% 0.17 264.7)
-
Step 600
600
#3B6ADD
oklch(55.6% 0.183 264.4)
-
Step 700
700
#2E57C0
oklch(49% 0.171 264.7)
-
Step 800
800
#27489B
oklch(42.7% 0.141 264.7)
-
Step 900
900
#233D7C
oklch(37.7% 0.112 264.7)
-
Step 950
950
#152448
oklch(26.9% 0.07 265)
#5F8EFB 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) | #5B9AFF | 0.030 |
| Deuteranopia (no green cones) | #428BF9 | 0.029 |
| Tritanopia (no blue cones) | #00A7B8 | 0.144 |
| Achromatopsia (no color) | #929292 | 0.170 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8EFB
#5F8EFB
oklch(66.6% 0.17 264.7)
- #BA8C00
#BA8C00
oklch(66.6% 0.136 85.1)
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 #5F8EFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Blue #6488EA ΔE 0.027
- Cornflower Blue #6495ED ΔE 0.031
- Chefchaouen Blue #4895EF ΔE 0.034
- Dodger Blue #1E90FF ΔE 0.044
- Dark Sky Blue #448EE4 ΔE 0.044
- Cornflower #6A79F7 ΔE 0.051
- Lavender Blue #8B88F8 ΔE 0.054
- Periwinkle #8E82FE ΔE 0.062
Use #5F8EFB 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.