#5F97EB
Closest named color: Cornflower Blue (#6495ED). oklch(67.5% 0.139 258.3), rgb(95, 151, 235).
Aa
Black text reads best on this color (7.11:1).
About this color
#5F97EB is a medium-light, moderately saturated blue. In OKLCH its lightness is 68%, its chroma 0.139 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.008 away. Black text reads best on it, at 7.11:1.
| Hue family | Blues |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.139) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.11:1 |
| White text | 2.95:1 |
Values
| HEX | #5F97EB |
| RGB | rgb(95, 151, 235) |
| HSL | hsl(216, 78%, 65%) |
| OKLCH | oklch(67.5% 0.139 258.3) |
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 #5F97EB | 2.95:1 | Fails | Lc -61.2 | Content text, not long reading |
| Black text on #5F97EB | 7.11:1 | AAA | Lc 48.2 | Large or bold text, headings |
| #5F97EB text on white | 2.95:1 | Fails | Lc 55.8 | Large or bold text, headings |
| #5F97EB text on black | 7.11:1 | AAA | Lc -46.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
#F1F6FD
oklch(97.1% 0.011 256.7)
-
Step 100
100
#E0EBFB
oklch(93.7% 0.025 257.6)
-
Step 200
200
#C6DBFA
oklch(88.6% 0.048 258)
-
Step 300
300
#9EC3F9
oklch(81% 0.087 257.7)
-
Step 400
400 (this color)
#5F97EB
oklch(67.5% 0.139 258.3)
-
Step 500
500
#3E87F2
oklch(63.2% 0.176 258.2)
-
Step 600
600
#186DE1
oklch(55.6% 0.193 258.4)
-
Step 700
700
#075AC3
oklch(49% 0.179 258.3)
-
Step 800
800
#0D4B9E
oklch(42.8% 0.148 258.2)
-
Step 900
900
#143F7D
oklch(37.6% 0.115 258.3)
-
Step 950
950
#0D2649
oklch(27.1% 0.072 257.4)
#5F97EB 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) | #739DEE | 0.029 |
| Deuteranopia (no green cones) | #6190E9 | 0.018 |
| Tritanopia (no blue cones) | #00AAB6 | 0.118 |
| Achromatopsia (no color) | #969696 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F97EB
#5F97EB
oklch(67.5% 0.139 258.3)
- #C58A0B
#C58A0B
oklch(67.5% 0.139 77.8)
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 #5F97EB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.008
- Chefchaouen Blue #4895EF ΔE 0.022
- Dark Sky Blue #448EE4 ΔE 0.038
- Soft Blue #6488EA ΔE 0.039
- Dodger Blue #1E90FF ΔE 0.058
- Perrywinkle #8F8CE7 ΔE 0.060
- Periwinkle Blue #8F99FB ΔE 0.063
- Lavender Blue #8B88F8 ΔE 0.067
Use #5F97EB 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.