#5C98F5#5C98F5
#5C98F5 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.2% C 0.152 H 258.9°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5C98F5 |
|---|---|
| RGB | rgb(92, 152, 245) |
| HSL | hsl(216, 88%, 66%) |
| HSV | hsv(216, 62%, 96%) |
| CMYK | cmyk(62.4%, 38%, 0%, 3.9%) |
| CIE-LAB | lab(62.78, 8.70, -52.37) |
| CIE-LCH | lch(62.78, 53.09, 279.43°) |
| OKLab | oklab(68.16% -0.0293 -0.1488) |
| OKLCH | oklch(68.16% 0.152 258.9) |
| XYZ | xyz(32.1174, 31.3214, 90.7216) |
| Luminance | 0.3132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.82
Dark Sky Blue
#448EE4
ΔE00 4.40
Dodgerblue
#1E90FF
ΔE00 4.47
Soft Blue
#6488EA
ΔE00 6.05
Dodger Blue
#3E82FC
ΔE00 6.77
Faded Blue
#658CBB
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C98F5 #F5B95C
analogous
#5CE4F5 #5C98F5 #6C5CF5
triadic
#5C98F5 #F55C98 #98F55C
tetradic
#5C98F5 #F55CE4 #F5B95C #5CF56C
square
#5C98F5 #F55CE4 #F5B95C #5CF56C
split-complementary
#5C98F5 #F56C5C #E4F55C
monochromatic
#0C57CA #2274F1 #5C98F5 #96BCF9 #CFE1FC
Accessibility & contrast
On white
2.89
#5C98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#5C98F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5C98F5
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C98F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C98F5 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA0F9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5c98f5; /* rgb */ color: rgb(92, 152, 245); /* oklch */ color: oklch(68.2% 0.152 258.9);
Tailwind
colors: {
custom: {
50: '#97b5f9',
500: '#5c98f5',
950: '#000000',
},
}SCSS
$custom: #5c98f5; $custom-light: #97b5f9; $custom-dark: #000000;
JSON
{
"hex": "#5c98f5",
"rgb": {
"r": 92,
"g": 152,
"b": 245
},
"hsl": {
"h": 216.471,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.68156,
"c": 0.15169,
"h": 258.9
},
"luminance": 0.31324
}Semantic roles & 50–950 ramp
primary
#5C98F5
secondary
#F0DCBD
accent
#8B00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085