#5F97FE#5F97FE
#5F97FE is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.6% C 0.163 H 261.6°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97FE |
|---|---|
| RGB | rgb(95, 151, 254) |
| HSL | hsl(219, 99%, 68%) |
| HSV | hsv(219, 63%, 100%) |
| CMYK | cmyk(62.6%, 40.6%, 0%, 0.4%) |
| CIE-LAB | lab(63.11, 12.79, -56.77) |
| CIE-LCH | lch(63.11, 58.19, 282.70°) |
| OKLab | oklab(68.6% -0.024 -0.1617) |
| OKLCH | oklch(68.6% 0.163 261.6) |
| XYZ | xyz(33.6690, 31.7187, 98.0947) |
| Luminance | 0.3172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.74
Dark Sky Blue
#448EE4
ΔE00 5.31
Dodgerblue
#1E90FF
ΔE00 5.36
Soft Blue
#6488EA
ΔE00 5.52
Dodger Blue
#3E82FC
ΔE00 6.53
Faded Blue
#658CBB
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97FE #FEC65F
analogous
#5FE6FE #5F97FE #765FFE
triadic
#5F97FE #FE5F97 #97FE5F
tetradic
#5F97FE #FE5FE6 #FEC65F #5FFE76
square
#5F97FE #FE5FE6 #FEC65F #5FFE76
split-complementary
#5F97FE #FE765F #E6FE5F
monochromatic
#0150E1 #226FFE #5F97FE #9CBFFE #D9E6FF
Accessibility & contrast
On white
2.86
#5F97FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#5F97FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97FE
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97FE | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#5192FC
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #5f97fe; /* rgb */ color: rgb(95, 151, 254); /* oklch */ color: oklch(68.6% 0.163 261.6);
Tailwind
colors: {
custom: {
50: '#9ab5ff',
500: '#5f97fe',
950: '#000000',
},
}SCSS
$custom: #5f97fe; $custom-light: #9ab5ff; $custom-dark: #000000;
JSON
{
"hex": "#5f97fe",
"rgb": {
"r": 95,
"g": 151,
"b": 254
},
"hsl": {
"h": 218.868,
"s": 98.758,
"l": 68.431
},
"oklch": {
"l": 0.68602,
"c": 0.16345,
"h": 261.6
},
"luminance": 0.31722
}Semantic roles & 50–950 ramp
primary
#5F97FE
secondary
#F4E3C4
accent
#9500E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086