#5F97F7#5F97F7
#5F97F7 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.2% C 0.154 H 260.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97F7 |
|---|---|
| RGB | rgb(95, 151, 247) |
| HSL | hsl(218, 90%, 67%) |
| HSV | hsv(218, 62%, 97%) |
| CMYK | cmyk(61.5%, 38.9%, 0%, 3.1%) |
| CIE-LAB | lab(62.74, 10.48, -53.52) |
| CIE-LCH | lch(62.74, 54.54, 281.08°) |
| OKLab | oklab(68.2% -0.0254 -0.1522) |
| OKLCH | oklch(68.2% 0.154 260.5) |
| XYZ | xyz(32.5685, 31.2785, 92.2987) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.31
Dark Sky Blue
#448EE4
ΔE00 4.77
Dodgerblue
#1E90FF
ΔE00 4.98
Soft Blue
#6488EA
ΔE00 5.46
Dodger Blue
#3E82FC
ΔE00 6.48
Faded Blue
#658CBB
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97F7 #F7BF5F
analogous
#5FE3F7 #5F97F7 #735FF7
triadic
#5F97F7 #F75F97 #97F75F
tetradic
#5F97F7 #F75FE3 #F7BF5F #5FF773
square
#5F97F7 #F75FE3 #F7BF5F #5FF773
split-complementary
#5F97F7 #F7735F #E3F75F
monochromatic
#0A54D1 #2571F4 #5F97F7 #99BDFA #D4E3FD
Accessibility & contrast
On white
2.89
#5F97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#5F97F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97F7
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97F7 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9FFB
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5f97f7; /* rgb */ color: rgb(95, 151, 247); /* oklch */ color: oklch(68.2% 0.154 260.5);
Tailwind
colors: {
custom: {
50: '#99b5fa',
500: '#5f97f7',
950: '#000000',
},
}SCSS
$custom: #5f97f7; $custom-light: #99b5fa; $custom-dark: #000000;
JSON
{
"hex": "#5f97f7",
"rgb": {
"r": 95,
"g": 151,
"b": 247
},
"hsl": {
"h": 217.895,
"s": 90.476,
"l": 67.059
},
"oklch": {
"l": 0.68198,
"c": 0.15427,
"h": 260.5
},
"luminance": 0.31282
}Semantic roles & 50–950 ramp
primary
#5F97F7
secondary
#F1DFC1
accent
#9100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085