#5F98EC
Closest named color: Cornflower Blue (#6495ED). oklch(67.8% 0.139 258), rgb(95, 152, 236).
Aa
Black text reads best on this color (7.18:1).
About this color
#5F98EC 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.009 away. Black text reads best on it, at 7.18:1.
| Hue family | Blues |
| Lightness | medium-light (68%) |
| Chroma | moderately saturated (0.139) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.18:1 |
| White text | 2.92:1 |
Values
| HEX | #5F98EC |
| RGB | rgb(95, 152, 236) |
| HSL | hsl(216, 79%, 65%) |
| OKLCH | oklch(67.8% 0.139 258) |
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 #5F98EC | 2.92:1 | Fails | Lc -60.7 | Content text, not long reading |
| Black text on #5F98EC | 7.18:1 | AAA | Lc 48.6 | Large or bold text, headings |
| #5F98EC text on white | 2.92:1 | Fails | Lc 55.4 | Large or bold text, headings |
| #5F98EC text on black | 7.18:1 | AAA | Lc -46.4 | 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)
#5F98EC
oklch(67.8% 0.139 258)
-
Step 500
500
#3C87F2
oklch(63.1% 0.177 257.9)
-
Step 600
600
#156DE1
oklch(55.5% 0.193 258.1)
-
Step 700
700
#035BC3
oklch(49.1% 0.178 257.8)
-
Step 800
800
#0B4B9E
oklch(42.8% 0.148 257.9)
-
Step 900
900
#133F7D
oklch(37.6% 0.116 258)
-
Step 950
950
#0D2649
oklch(27.1% 0.072 257.4)
#5F98EC 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) | #749EEF | 0.029 |
| Deuteranopia (no green cones) | #6291EA | 0.018 |
| Tritanopia (no blue cones) | #00ABB7 | 0.118 |
| Achromatopsia (no color) | #979797 | 0.139 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F98EC
#5F98EC
oklch(67.8% 0.139 258)
- #C68B0D
#C68B0D
oklch(67.8% 0.139 77.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 #5F98EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.009
- Chefchaouen Blue #4895EF ΔE 0.023
- Dark Sky Blue #448EE4 ΔE 0.040
- Soft Blue #6488EA ΔE 0.041
- Dodger Blue #1E90FF ΔE 0.059
- Perrywinkle #8F8CE7 ΔE 0.061
- Periwinkle Blue #8F99FB ΔE 0.062
- Lavender Blue #8B88F8 ΔE 0.068
Use #5F98EC 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.