#5C98F2#5C98F2
#5C98F2 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.0% C 0.148 H 258.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5C98F2 |
|---|---|
| RGB | rgb(92, 152, 242) |
| HSL | hsl(216, 85%, 65%) |
| HSV | hsv(216, 62%, 95%) |
| CMYK | cmyk(62%, 37.2%, 0%, 5.1%) |
| CIE-LAB | lab(62.63, 7.71, -50.97) |
| CIE-LCH | lch(62.63, 51.55, 278.60°) |
| OKLab | oklab(67.99% -0.0299 -0.1447) |
| OKLCH | oklch(67.99% 0.148 258.3) |
| XYZ | xyz(31.6632, 31.1396, 88.3291) |
| Luminance | 0.3114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.85
Dark Sky Blue
#448EE4
ΔE00 4.20
Dodgerblue
#1E90FF
ΔE00 4.34
Soft Blue
#6488EA
ΔE00 6.09
Faded Blue
#658CBB
ΔE00 6.73
Dodger Blue
#3E82FC
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C98F2 #F2B65C
analogous
#5CE3F2 #5C98F2 #6B5CF2
triadic
#5C98F2 #F25C98 #98F25C
tetradic
#5C98F2 #F25CE3 #F2B65C #5CF26B
square
#5C98F2 #F25CE3 #F2B65C #5CF26B
split-complementary
#5C98F2 #F26B5C #E3F25C
monochromatic
#1058C4 #2374ED #5C98F2 #95BCF7 #CDE0FB
Accessibility & contrast
On white
2.91
#5C98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#5C98F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5C98F2
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C98F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C98F2 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5c98f2; /* rgb */ color: rgb(92, 152, 242); /* oklch */ color: oklch(68.0% 0.148 258.3);
Tailwind
colors: {
custom: {
50: '#97b5f7',
500: '#5c98f2',
950: '#000000',
},
}SCSS
$custom: #5c98f2; $custom-light: #97b5f7; $custom-dark: #000000;
JSON
{
"hex": "#5c98f2",
"rgb": {
"r": 92,
"g": 152,
"b": 242
},
"hsl": {
"h": 216,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.67987,
"c": 0.14779,
"h": 258.3
},
"luminance": 0.31143
}Semantic roles & 50–950 ramp
primary
#5C98F2
secondary
#EEDABC
accent
#8904E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085