#5F8AFB
Closest named color: Soft Blue (#6488EA). oklch(65.8% 0.174 266.1), rgb(95, 138, 251).
Aa
Black text reads best on this color (6.51:1).
About this color
#5F8AFB is a medium-light, vivid blue. In OKLCH its lightness is 66%, its chroma 0.174 and its hue 266°. 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.51:1.
| Hue family | Blues |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.174) |
| Temperature | cool |
| Nearest name | Soft Blue (#6488EA) |
| Black text | 6.51:1 |
| White text | 3.22:1 |
Values
| HEX | #5F8AFB |
| RGB | rgb(95, 138, 251) |
| HSL | hsl(223, 95%, 68%) |
| OKLCH | oklch(65.8% 0.174 266.1) |
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 #5F8AFB | 3.22:1 | AA large text | Lc -64.6 | Content text, not long reading |
| Black text on #5F8AFB | 6.51:1 | AA | Lc 44.9 | Non-text elements, placeholder text |
| #5F8AFB text on white | 3.22:1 | AA large text | Lc 59.2 | Large or bold text, headings |
| #5F8AFB text on black | 6.51:1 | AA | Lc -42.5 | 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
#F2F5FD
oklch(97% 0.011 269.6)
-
Step 100
100
#E2EAFB
oklch(93.6% 0.025 265.6)
-
Step 200
200
#CBD9F9
oklch(88.5% 0.047 266.7)
-
Step 300
300
#A7C0F9
oklch(80.9% 0.086 266.1)
-
Step 400
400
#799DF6
oklch(70.8% 0.137 266.3)
-
Step 500
500 (this color)
#5F8AFB
oklch(65.8% 0.174 266.1)
-
Step 600
600
#3F68E0
oklch(55.6% 0.189 266.1)
-
Step 700
700
#3155C3
oklch(49% 0.177 266.2)
-
Step 800
800
#29479E
oklch(42.8% 0.146 266)
-
Step 900
900
#253C7D
oklch(37.6% 0.114 266.3)
-
Step 950
950
#162449
oklch(27% 0.071 266.2)
#5F8AFB 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) | #5397FF | 0.033 |
| Deuteranopia (no green cones) | #3989F9 | 0.034 |
| Tritanopia (no blue cones) | #00A4B6 | 0.148 |
| Achromatopsia (no color) | #8F8F8F | 0.175 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F8AFB
#5F8AFB
oklch(65.8% 0.174 266.1)
- #B68A00
#B68A00
oklch(65.8% 0.135 85.9)
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 #5F8AFB, 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 Blue #6495ED ΔE 0.039
- Chefchaouen Blue #4895EF ΔE 0.040
- Cornflower #6A79F7 ΔE 0.042
- Dodger Blue #1E90FF ΔE 0.044
- Dark Sky Blue #448EE4 ΔE 0.046
- Lavender Blue #8B88F8 ΔE 0.054
- Periwinkle #8E82FE ΔE 0.060
Use #5F8AFB 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.