#5F98EE#5F98EE
#5F98EE is a light, vivid blue. Relative luminance 0.311; OKLCH L 67.9% C 0.141 H 258.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5F98EE |
|---|---|
| RGB | rgb(95, 152, 238) |
| HSL | hsl(216, 81%, 65%) |
| HSV | hsv(216, 60%, 93%) |
| CMYK | cmyk(60.1%, 36.1%, 0%, 6.7%) |
| CIE-LAB | lab(62.56, 6.94, -48.86) |
| CIE-LCH | lch(62.56, 49.36, 278.09°) |
| OKLab | oklab(67.91% -0.0284 -0.1385) |
| OKLCH | oklch(67.91% 0.141 258.4) |
| XYZ | xyz(31.3747, 31.0596, 85.2140) |
| Luminance | 0.3106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.58
Dark Sky Blue
#448EE4
ΔE00 4.24
Dodgerblue
#1E90FF
ΔE00 4.60
Soft Blue
#6488EA
ΔE00 5.88
Faded Blue
#658CBB
ΔE00 6.43
Dodger Blue
#3E82FC
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F98EE #EEB55F
analogous
#5FDFEE #5F98EE #6D5FEE
triadic
#5F98EE #EE5F98 #98EE5F
tetradic
#5F98EE #EE5FDF #EEB55F #5FEE6D
square
#5F98EE #EE5FDF #EEB55F #5FEE6D
split-complementary
#5F98EE #EE6D5F #DFEE5F
monochromatic
#1458BE #2874E8 #5F98EE #96BCF4 #CEDFFA
Accessibility & contrast
On white
2.91
#5F98EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#5F98EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F98EE
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F98EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F98EE | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5f98ee; /* rgb */ color: rgb(95, 152, 238); /* oklch */ color: oklch(67.9% 0.141 258.4);
Tailwind
colors: {
custom: {
50: '#98b5f4',
500: '#5f98ee',
950: '#000000',
},
}SCSS
$custom: #5f98ee; $custom-light: #98b5f4; $custom-dark: #000000;
JSON
{
"hex": "#5f98ee",
"rgb": {
"r": 95,
"g": 152,
"b": 238
},
"hsl": {
"h": 216.084,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.67906,
"c": 0.14142,
"h": 258.4
},
"luminance": 0.31062
}Semantic roles & 50–950 ramp
primary
#5F98EE
secondary
#ECD9BC
accent
#8808DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085