#5B98F7#5B98F7
#5B98F7 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.155 H 259.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5B98F7 |
|---|---|
| RGB | rgb(91, 152, 247) |
| HSL | hsl(217, 91%, 66%) |
| HSV | hsv(217, 63%, 97%) |
| CMYK | cmyk(63.2%, 38.5%, 0%, 3.1%) |
| CIE-LAB | lab(62.84, 9.19, -53.38) |
| CIE-LCH | lch(62.84, 54.16, 279.77°) |
| OKLab | oklab(68.22% -0.0296 -0.1518) |
| OKLCH | oklch(68.22% 0.155 259) |
| XYZ | xyz(32.3251, 31.3930, 92.3336) |
| Luminance | 0.3140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.93
Dodgerblue
#1E90FF
ΔE00 4.43
Dark Sky Blue
#448EE4
ΔE00 4.45
Soft Blue
#6488EA
ΔE00 6.11
Dodger Blue
#3E82FC
ΔE00 6.76
Faded Blue
#658CBB
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B98F7 #F7BA5B
analogous
#5BE6F7 #5B98F7 #6C5BF7
triadic
#5B98F7 #F75B98 #98F75B
tetradic
#5B98F7 #F75BE6 #F7BA5B #5BF76C
square
#5B98F7 #F75BE6 #F7BA5B #5BF76C
split-complementary
#5B98F7 #F76C5B #E6F75B
monochromatic
#0A56CE #2173F4 #5B98F7 #95BDFA #D0E1FD
Accessibility & contrast
On white
2.88
#5B98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#5B98F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5B98F7
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B98F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B98F7 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5b98f7; /* rgb */ color: rgb(91, 152, 247); /* oklch */ color: oklch(68.2% 0.155 259.0);
Tailwind
colors: {
custom: {
50: '#97b5fa',
500: '#5b98f7',
950: '#000000',
},
}SCSS
$custom: #5b98f7; $custom-light: #97b5fa; $custom-dark: #000000;
JSON
{
"hex": "#5b98f7",
"rgb": {
"r": 91,
"g": 152,
"b": 247
},
"hsl": {
"h": 216.538,
"s": 90.698,
"l": 66.275
},
"oklch": {
"l": 0.68224,
"c": 0.15466,
"h": 259
},
"luminance": 0.31396
}Semantic roles & 50–950 ramp
primary
#5B98F7
secondary
#F0DCBD
accent
#8C00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085