#5D98F4#5D98F4
#5D98F4 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.1% C 0.150 H 259.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5D98F4 |
|---|---|
| RGB | rgb(93, 152, 244) |
| HSL | hsl(217, 87%, 66%) |
| HSV | hsv(217, 62%, 96%) |
| CMYK | cmyk(61.9%, 37.7%, 0%, 4.3%) |
| CIE-LAB | lab(62.77, 8.55, -51.83) |
| CIE-LCH | lch(62.77, 52.53, 279.36°) |
| OKLab | oklab(68.15% -0.0287 -0.1472) |
| OKLCH | oklch(68.15% 0.15 259) |
| XYZ | xyz(32.0658, 31.3123, 89.9244) |
| Luminance | 0.3131 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.71
Dark Sky Blue
#448EE4
ΔE00 4.42
Dodgerblue
#1E90FF
ΔE00 4.55
Soft Blue
#6488EA
ΔE00 5.97
Dodger Blue
#3E82FC
ΔE00 6.77
Faded Blue
#658CBB
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D98F4 #F4B95D
analogous
#5DE4F4 #5D98F4 #6D5DF4
triadic
#5D98F4 #F45D98 #98F45D
tetradic
#5D98F4 #F45DE4 #F4B95D #5DF46D
square
#5D98F4 #F45DE4 #F4B95D #5DF46D
split-complementary
#5D98F4 #F46D5D #E4F45D
monochromatic
#0E57C9 #2474F0 #5D98F4 #96BCF8 #D0E1FC
Accessibility & contrast
On white
2.89
#5D98F4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#5D98F4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5D98F4
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D98F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D98F4 | 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)
#70A0F8
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5d98f4; /* rgb */ color: rgb(93, 152, 244); /* oklch */ color: oklch(68.1% 0.150 259.0);
Tailwind
colors: {
custom: {
50: '#97b5f8',
500: '#5d98f4',
950: '#000000',
},
}SCSS
$custom: #5d98f4; $custom-light: #97b5f8; $custom-dark: #000000;
JSON
{
"hex": "#5d98f4",
"rgb": {
"r": 93,
"g": 152,
"b": 244
},
"hsl": {
"h": 216.556,
"s": 87.283,
"l": 66.078
},
"oklch": {
"l": 0.68145,
"c": 0.15001,
"h": 259
},
"luminance": 0.31315
}Semantic roles & 50–950 ramp
primary
#5D98F4
secondary
#EFDCBE
accent
#8B02E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085