#5B97F2#5B97F2
#5B97F2 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.149 H 258.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5B97F2 |
|---|---|
| RGB | rgb(91, 151, 242) |
| HSL | hsl(216, 85%, 65%) |
| HSV | hsv(216, 62%, 95%) |
| CMYK | cmyk(62.4%, 37.6%, 0%, 5.1%) |
| CIE-LAB | lab(62.31, 8.12, -51.47) |
| CIE-LCH | lch(62.31, 52.11, 278.96°) |
| OKLab | oklab(67.73% -0.0297 -0.1462) |
| OKLCH | oklch(67.73% 0.149 258.5) |
| XYZ | xyz(31.4023, 30.7652, 88.2706) |
| Luminance | 0.3077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.71
Dark Sky Blue
#448EE4
ΔE00 4.00
Dodgerblue
#1E90FF
ΔE00 4.21
Soft Blue
#6488EA
ΔE00 5.85
Dodger Blue
#3E82FC
ΔE00 6.50
Faded Blue
#658CBB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B97F2 #F2B65B
analogous
#5BE2F2 #5B97F2 #6A5BF2
triadic
#5B97F2 #F25B97 #97F25B
tetradic
#5B97F2 #F25BE2 #F2B65B #5BF26A
square
#5B97F2 #F25BE2 #F2B65B #5BF26A
split-complementary
#5B97F2 #F26A5B #E2F25B
monochromatic
#0F57C3 #2273EE #5B97F2 #94BBF6 #CCDFFB
Accessibility & contrast
On white
2.94
#5B97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#5B97F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5B97F2
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B97F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B97F2 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5b97f2; /* rgb */ color: rgb(91, 151, 242); /* oklch */ color: oklch(67.7% 0.149 258.5);
Tailwind
colors: {
custom: {
50: '#96b5f7',
500: '#5b97f2',
950: '#000000',
},
}SCSS
$custom: #5b97f2; $custom-light: #96b5f7; $custom-dark: #000000;
JSON
{
"hex": "#5b97f2",
"rgb": {
"r": 91,
"g": 151,
"b": 242
},
"hsl": {
"h": 216.159,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.6773,
"c": 0.14922,
"h": 258.5
},
"luminance": 0.30768
}Semantic roles & 50–950 ramp
primary
#5B97F2
secondary
#EEDABB
accent
#8A04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085