#5FA2F8
Closest named color: Cornflower Blue (#6495ED). oklch(70.6% 0.144 255.4), rgb(95, 162, 248).
Aa
Black text reads best on this color (8.01:1).
About this color
#5FA2F8 is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.144 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.035 away. Black text reads best on it, at 8.01:1.
| Hue family | Blues |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.144) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 8.01:1 |
| White text | 2.62:1 |
Values
| HEX | #5FA2F8 |
| RGB | rgb(95, 162, 248) |
| HSL | hsl(214, 92%, 67%) |
| OKLCH | oklch(70.6% 0.144 255.4) |
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 #5FA2F8 | 2.62:1 | Fails | Lc -56.0 | Large or bold text, headings |
| Black text on #5FA2F8 | 8.01:1 | AAA | Lc 53.1 | Large or bold text, headings |
| #5FA2F8 text on white | 2.62:1 | Fails | Lc 50.9 | Large or bold text, headings |
| #5FA2F8 text on black | 8.01:1 | AAA | Lc -51.0 | Large or bold text, headings |
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 400.
-
Step 50
50
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C4DBFB
oklch(88.5% 0.051 256.7)
-
Step 300
300
#9AC4FA
oklch(81% 0.089 255)
-
Step 400
400 (this color)
#5FA2F8
oklch(70.6% 0.144 255.4)
-
Step 500
500
#2B88F5
oklch(63.1% 0.184 255.4)
-
Step 600
600
#0070DC
oklch(55.6% 0.186 255.4)
-
Step 700
700
#005EBB
oklch(49.1% 0.165 255.5)
-
Step 800
800
#004D9A
oklch(42.7% 0.142 255.2)
-
Step 900
900
#06407F
oklch(37.7% 0.12 255.4)
-
Step 950
950
#08264A
oklch(26.9% 0.075 255.4)
#5FA2F8 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) | #7DA8FC | 0.037 |
| Deuteranopia (no green cones) | #6899F6 | 0.024 |
| Tritanopia (no blue cones) | #00B6C1 | 0.120 |
| Achromatopsia (no color) | #A0A0A0 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5FA2F8
#5FA2F8
oklch(70.6% 0.144 255.4)
- #D39115
#D39115
oklch(70.5% 0.144 75.4)
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 #5FA2F8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.035
- Chefchaouen Blue #4895EF ΔE 0.044
- Periwinkle Blue #8F99FB ΔE 0.056
- Dark Sky Blue #448EE4 ΔE 0.066
- Soft Blue #6488EA ΔE 0.067
- Dodger Blue #1E90FF ΔE 0.071
- Perrywinkle #8F8CE7 ΔE 0.073
- Lavender Blue #8B88F8 ΔE 0.078
Use #5FA2F8 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.