#5B98F1#5B98F1
#5B98F1 is a light, vivid blue. Relative luminance 0.310; OKLCH L 67.9% C 0.147 H 257.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5B98F1 |
|---|---|
| RGB | rgb(91, 152, 241) |
| HSL | hsl(216, 84%, 65%) |
| HSV | hsv(216, 62%, 95%) |
| CMYK | cmyk(62.2%, 36.9%, 0%, 5.5%) |
| CIE-LAB | lab(62.53, 7.20, -50.57) |
| CIE-LCH | lch(62.53, 51.08, 278.10°) |
| OKLab | oklab(67.89% -0.031 -0.1436) |
| OKLCH | oklch(67.89% 0.147 257.8) |
| XYZ | xyz(31.4141, 31.0286, 87.5356) |
| Luminance | 0.3103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.01
Dark Sky Blue
#448EE4
ΔE00 4.05
Dodgerblue
#1E90FF
ΔE00 4.18
Soft Blue
#6488EA
ΔE00 6.20
Azure (survey)
#069AF3
ΔE00 6.66
Faded Blue
#658CBB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B98F1 #F1B45B
analogous
#5BE3F1 #5B98F1 #695BF1
triadic
#5B98F1 #F15B98 #98F15B
tetradic
#5B98F1 #F15BE3 #F1B45B #5BF169
square
#5B98F1 #F15BE3 #F1B45B #5BF169
split-complementary
#5B98F1 #F1695B #E3F15B
monochromatic
#1058C1 #2375EC #5B98F1 #93BBF6 #CCDFFB
Accessibility & contrast
On white
2.91
#5B98F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#5B98F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5B98F1
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B98F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B98F1 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719FF5
Deuteranopia (green-blind)
#5C91EF
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5b98f1; /* rgb */ color: rgb(91, 152, 241); /* oklch */ color: oklch(67.9% 0.147 257.8);
Tailwind
colors: {
custom: {
50: '#96b5f6',
500: '#5b98f1',
950: '#000000',
},
}SCSS
$custom: #5b98f1; $custom-light: #96b5f6; $custom-dark: #000000;
JSON
{
"hex": "#5b98f1",
"rgb": {
"r": 91,
"g": 152,
"b": 241
},
"hsl": {
"h": 215.6,
"s": 84.27,
"l": 65.098
},
"oklch": {
"l": 0.67886,
"c": 0.14687,
"h": 257.8
},
"luminance": 0.31031
}Semantic roles & 50–950 ramp
primary
#5B98F1
secondary
#EDD9BA
accent
#8705E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085