#5F97F4#5F97F4
#5F97F4 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.0% C 0.150 H 260.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97F4 |
|---|---|
| RGB | rgb(95, 151, 244) |
| HSL | hsl(217, 87%, 66%) |
| HSV | hsv(217, 61%, 96%) |
| CMYK | cmyk(61.1%, 38.1%, 0%, 4.3%) |
| CIE-LAB | lab(62.59, 9.49, -52.12) |
| CIE-LCH | lch(62.59, 52.98, 280.32°) |
| OKLab | oklab(68.03% -0.026 -0.148) |
| OKLCH | oklch(68.03% 0.15 260) |
| XYZ | xyz(32.1093, 31.0949, 89.8802) |
| Luminance | 0.3110 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.22
Dark Sky Blue
#448EE4
ΔE00 4.55
Dodgerblue
#1E90FF
ΔE00 4.85
Soft Blue
#6488EA
ΔE00 5.47
Dodger Blue
#3E82FC
ΔE00 6.48
Faded Blue
#658CBB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97F4 #F4BC5F
analogous
#5FE1F4 #5F97F4 #725FF4
triadic
#5F97F4 #F45F97 #97F45F
tetradic
#5F97F4 #F45FE1 #F4BC5F #5FF472
square
#5F97F4 #F45FE1 #F4BC5F #5FF472
split-complementary
#5F97F4 #F4725F #E1F45F
monochromatic
#0E55CB #2672F0 #5F97F4 #98BCF8 #D2E1FC
Accessibility & contrast
On white
2.91
#5F97F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#5F97F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97F4
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97F4 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9FF8
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5f97f4; /* rgb */ color: rgb(95, 151, 244); /* oklch */ color: oklch(68.0% 0.150 260.0);
Tailwind
colors: {
custom: {
50: '#98b5f8',
500: '#5f97f4',
950: '#000000',
},
}SCSS
$custom: #5f97f4; $custom-light: #98b5f8; $custom-dark: #000000;
JSON
{
"hex": "#5f97f4",
"rgb": {
"r": 95,
"g": 151,
"b": 244
},
"hsl": {
"h": 217.45,
"s": 87.135,
"l": 66.471
},
"oklch": {
"l": 0.68027,
"c": 0.15032,
"h": 260
},
"luminance": 0.31098
}Semantic roles & 50–950 ramp
primary
#5F97F4
secondary
#F0DDBF
accent
#8F02E4
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085