#5B98F5#5B98F5
#5B98F5 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.1% C 0.152 H 258.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5B98F5 |
|---|---|
| RGB | rgb(91, 152, 245) |
| HSL | hsl(216, 89%, 66%) |
| HSV | hsv(216, 63%, 96%) |
| CMYK | cmyk(62.9%, 38%, 0%, 3.9%) |
| CIE-LAB | lab(62.74, 8.53, -52.44) |
| CIE-LCH | lch(62.74, 53.13, 279.23°) |
| OKLab | oklab(68.11% -0.0301 -0.1491) |
| OKLCH | oklch(68.11% 0.152 258.6) |
| XYZ | xyz(32.0182, 31.2702, 90.7169) |
| Luminance | 0.3127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.93
Dark Sky Blue
#448EE4
ΔE00 4.31
Dodgerblue
#1E90FF
ΔE00 4.34
Soft Blue
#6488EA
ΔE00 6.13
Dodger Blue
#3E82FC
ΔE00 6.77
Faded Blue
#658CBB
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B98F5 #F5B85B
analogous
#5BE5F5 #5B98F5 #6B5BF5
triadic
#5B98F5 #F55B98 #98F55B
tetradic
#5B98F5 #F55BE5 #F5B85B #5BF56B
square
#5B98F5 #F55BE5 #F5B85B #5BF56B
split-complementary
#5B98F5 #F56B5B #E5F55B
monochromatic
#0C57C9 #2174F1 #5B98F5 #95BCF9 #CEE0FC
Accessibility & contrast
On white
2.89
#5B98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#5B98F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5B98F5
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B98F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B98F5 | 1.00 | 2.89 | 7.25 | 7.25 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5b98f5; /* rgb */ color: rgb(91, 152, 245); /* oklch */ color: oklch(68.1% 0.152 258.6);
Tailwind
colors: {
custom: {
50: '#97b5f9',
500: '#5b98f5',
950: '#000000',
},
}SCSS
$custom: #5b98f5; $custom-light: #97b5f9; $custom-dark: #000000;
JSON
{
"hex": "#5b98f5",
"rgb": {
"r": 91,
"g": 152,
"b": 245
},
"hsl": {
"h": 216.234,
"s": 88.506,
"l": 65.882
},
"oklch": {
"l": 0.68111,
"c": 0.15206,
"h": 258.6
},
"luminance": 0.31273
}Semantic roles & 50–950 ramp
primary
#5B98F5
secondary
#EFDBBC
accent
#8B00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085