#5D98F5#5D98F5
#5D98F5 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.151 H 259.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5D98F5 |
|---|---|
| RGB | rgb(93, 152, 245) |
| HSL | hsl(217, 88%, 66%) |
| HSV | hsv(217, 62%, 96%) |
| CMYK | cmyk(62%, 38%, 0%, 3.9%) |
| CIE-LAB | lab(62.82, 8.88, -52.30) |
| CIE-LCH | lch(62.82, 53.05, 279.63°) |
| OKLab | oklab(68.2% -0.0285 -0.1486) |
| OKLCH | oklch(68.2% 0.151 259.2) |
| XYZ | xyz(32.2180, 31.3732, 90.7263) |
| Luminance | 0.3138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.71
Dark Sky Blue
#448EE4
ΔE00 4.49
Dodgerblue
#1E90FF
ΔE00 4.60
Soft Blue
#6488EA
ΔE00 5.96
Dodger Blue
#3E82FC
ΔE00 6.76
Faded Blue
#658CBB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D98F5 #F5BA5D
analogous
#5DE4F5 #5D98F5 #6E5DF5
triadic
#5D98F5 #F55D98 #98F55D
tetradic
#5D98F5 #F55DE4 #F5BA5D #5DF56E
square
#5D98F5 #F55DE4 #F5BA5D #5DF56E
split-complementary
#5D98F5 #F56E5D #E4F55D
monochromatic
#0D56CB #2373F1 #5D98F5 #97BDF9 #D0E1FC
Accessibility & contrast
On white
2.89
#5D98F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#5D98F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5D98F5
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D98F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D98F5 | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 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: #5d98f5; /* rgb */ color: rgb(93, 152, 245); /* oklch */ color: oklch(68.2% 0.151 259.2);
Tailwind
colors: {
custom: {
50: '#98b5f9',
500: '#5d98f5',
950: '#000000',
},
}SCSS
$custom: #5d98f5; $custom-light: #98b5f9; $custom-dark: #000000;
JSON
{
"hex": "#5d98f5",
"rgb": {
"r": 93,
"g": 152,
"b": 245
},
"hsl": {
"h": 216.711,
"s": 88.372,
"l": 66.275
},
"oklch": {
"l": 0.68201,
"c": 0.15131,
"h": 259.2
},
"luminance": 0.31376
}Semantic roles & 50–950 ramp
primary
#5D98F5
secondary
#F0DCBE
accent
#8C01E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085