#5F97EA#5F97EA
#5F97EA is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.137 H 258.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5F97EA |
|---|---|
| RGB | rgb(95, 151, 234) |
| HSL | hsl(216, 77%, 65%) |
| HSV | hsv(216, 59%, 92%) |
| CMYK | cmyk(59.4%, 35.5%, 0%, 8.2%) |
| CIE-LAB | lab(62.09, 6.23, -47.40) |
| CIE-LCH | lch(62.09, 47.81, 277.48°) |
| OKLab | oklab(67.47% -0.0284 -0.1343) |
| OKLCH | oklch(67.47% 0.137 258.1) |
| XYZ | xyz(30.6320, 30.5039, 82.0995) |
| Luminance | 0.3051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.49
Dark Sky Blue
#448EE4
ΔE00 3.91
Dodgerblue
#1E90FF
ΔE00 4.50
Soft Blue
#6488EA
ΔE00 5.63
Faded Blue
#658CBB
ΔE00 5.98
Dodger Blue
#3E82FC
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F97EA #EAB25F
analogous
#5FDDEA #5F97EA #6C5FEA
triadic
#5F97EA #EA5F97 #97EA5F
tetradic
#5F97EA #EA5FDD #EAB25F #5FEA6C
square
#5F97EA #EA5FDD #EAB25F #5FEA6C
split-complementary
#5F97EA #EA6C5F #DDEA5F
monochromatic
#1858B7 #2974E3 #5F97EA #95BAF1 #CBDDF8
Accessibility & contrast
On white
2.96
#5F97EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#5F97EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5F97EA
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F97EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F97EA | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#749DED
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5f97ea; /* rgb */ color: rgb(95, 151, 234); /* oklch */ color: oklch(67.5% 0.137 258.1);
Tailwind
colors: {
custom: {
50: '#97b5f1',
500: '#5f97ea',
950: '#000000',
},
}SCSS
$custom: #5f97ea; $custom-light: #97b5f1; $custom-dark: #000000;
JSON
{
"hex": "#5f97ea",
"rgb": {
"r": 95,
"g": 151,
"b": 234
},
"hsl": {
"h": 215.827,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.67474,
"c": 0.13723,
"h": 258.1
},
"luminance": 0.30507
}Semantic roles & 50–950 ramp
primary
#5F97EA
secondary
#EAD7BA
accent
#870CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085