#5B96F7#5B96F7
#5B96F7 is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.8% C 0.157 H 259.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5B96F7 |
|---|---|
| RGB | rgb(91, 150, 247) |
| HSL | hsl(217, 91%, 66%) |
| HSV | hsv(217, 63%, 97%) |
| CMYK | cmyk(63.2%, 39.3%, 0%, 3.1%) |
| CIE-LAB | lab(62.30, 10.37, -54.24) |
| CIE-LCH | lch(62.30, 55.22, 280.82°) |
| OKLab | oklab(67.8% -0.0277 -0.1543) |
| OKLCH | oklch(67.8% 0.157 259.8) |
| XYZ | xyz(32.0033, 30.7492, 92.2263) |
| Luminance | 0.3075 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.47
Dark Sky Blue
#448EE4
ΔE00 4.29
Dodgerblue
#1E90FF
ΔE00 4.47
Soft Blue
#6488EA
ΔE00 5.46
Dodger Blue
#3E82FC
ΔE00 6.17
Faded Blue
#658CBB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B96F7 #F7BC5B
analogous
#5BE4F7 #5B96F7 #6E5BF7
triadic
#5B96F7 #F75B96 #96F75B
tetradic
#5B96F7 #F75BE4 #F7BC5B #5BF76E
square
#5B96F7 #F75BE4 #F7BC5B #5BF76E
split-complementary
#5B96F7 #F76E5B #E4F75B
monochromatic
#0A54CE #2171F4 #5B96F7 #95BBFA #D0E1FD
Accessibility & contrast
On white
2.94
#5B96F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#5B96F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5B96F7
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B96F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B96F7 | 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)
#6B9EFB
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5b96f7; /* rgb */ color: rgb(91, 150, 247); /* oklch */ color: oklch(67.8% 0.157 259.8);
Tailwind
colors: {
custom: {
50: '#97b4fa',
500: '#5b96f7',
950: '#000000',
},
}SCSS
$custom: #5b96f7; $custom-light: #97b4fa; $custom-dark: #000000;
JSON
{
"hex": "#5b96f7",
"rgb": {
"r": 91,
"g": 150,
"b": 247
},
"hsl": {
"h": 217.308,
"s": 90.698,
"l": 66.275
},
"oklch": {
"l": 0.67803,
"c": 0.15681,
"h": 259.8
},
"luminance": 0.30752
}Semantic roles & 50–950 ramp
primary
#5B96F7
secondary
#F0DDBD
accent
#8F00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085