#5FA2F7
Closest named color: Cornflower Blue (#6495ED). oklch(70.5% 0.143 255.2), rgb(95, 162, 247).
Aa
Black text reads best on this color (7.99:1).
About this color
#5FA2F7 is a medium-light, vivid blue. In OKLCH its lightness is 71%, its chroma 0.143 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.034 away. Black text reads best on it, at 7.99:1.
| Hue family | Blues |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.143) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.99:1 |
| White text | 2.62:1 |
Values
| HEX | #5FA2F7 |
| RGB | rgb(95, 162, 247) |
| HSL | hsl(214, 90%, 67%) |
| OKLCH | oklch(70.5% 0.143 255.2) |
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 #5FA2F7 | 2.62:1 | Fails | Lc -56.1 | Large or bold text, headings |
| Black text on #5FA2F7 | 7.99:1 | AAA | Lc 53.1 | Large or bold text, headings |
| #5FA2F7 text on white | 2.62:1 | Fails | Lc 51.0 | Large or bold text, headings |
| #5FA2F7 text on black | 7.99:1 | AAA | Lc -50.9 | 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
#DFEBFB
oklch(93.6% 0.025 255.6)
-
Step 200
200
#C4DBFA
oklch(88.4% 0.05 255.9)
-
Step 300
300
#9AC4FA
oklch(81% 0.089 255)
-
Step 400
400 (this color)
#5FA2F7
oklch(70.5% 0.143 255.2)
-
Step 500
500
#2B88F4
oklch(63% 0.183 255.2)
-
Step 600
600
#0070DB
oklch(55.5% 0.184 255.3)
-
Step 700
700
#005EBA
oklch(49.1% 0.163 255.3)
-
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)
#5FA2F7 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) | #7EA8FB | 0.038 |
| Deuteranopia (no green cones) | #6999F5 | 0.024 |
| Tritanopia (no blue cones) | #00B5C1 | 0.117 |
| Achromatopsia (no color) | #A0A0A0 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5FA2F7
#5FA2F7
oklch(70.5% 0.143 255.2)
- #D39119
#D39119
oklch(70.5% 0.143 75.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 #5FA2F7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.034
- Chefchaouen Blue #4895EF ΔE 0.043
- Periwinkle Blue #8F99FB ΔE 0.057
- Dark Sky Blue #448EE4 ΔE 0.065
- Soft Blue #6488EA ΔE 0.067
- Dodger Blue #1E90FF ΔE 0.071
- Perrywinkle #8F8CE7 ΔE 0.073
- Lavender Blue #8B88F8 ΔE 0.078
Use #5FA2F7 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.