#5D98F9#5D98F9
#5D98F9 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.157 H 259.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5D98F9 |
|---|---|
| RGB | rgb(93, 152, 249) |
| HSL | hsl(217, 93%, 67%) |
| HSV | hsv(217, 63%, 98%) |
| CMYK | cmyk(62.7%, 39%, 0%, 2.4%) |
| CIE-LAB | lab(63.03, 10.20, -54.17) |
| CIE-LCH | lch(63.03, 55.12, 280.66°) |
| OKLab | oklab(68.43% -0.0276 -0.1541) |
| OKLCH | oklch(68.43% 0.157 259.8) |
| XYZ | xyz(32.8353, 31.6201, 93.9771) |
| Luminance | 0.3162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.77
Dark Sky Blue
#448EE4
ΔE00 4.78
Dodgerblue
#1E90FF
ΔE00 4.79
Soft Blue
#6488EA
ΔE00 5.94
Dodger Blue
#3E82FC
ΔE00 6.75
Faded Blue
#658CBB
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D98F9 #F9BE5D
analogous
#5DE6F9 #5D98F9 #705DF9
triadic
#5D98F9 #F95D98 #98F95D
tetradic
#5D98F9 #F95DE6 #F9BE5D #5DF970
square
#5D98F9 #F95DE6 #F9BE5D #5DF970
split-complementary
#5D98F9 #F9705D #E6F95D
monochromatic
#0855D4 #2272F7 #5D98F9 #98BEFB #D3E3FD
Accessibility & contrast
On white
2.87
#5D98F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#5D98F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5D98F9
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D98F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D98F9 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA0FD
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5d98f9; /* rgb */ color: rgb(93, 152, 249); /* oklch */ color: oklch(68.4% 0.157 259.8);
Tailwind
colors: {
custom: {
50: '#98b5fc',
500: '#5d98f9',
950: '#000000',
},
}SCSS
$custom: #5d98f9; $custom-light: #98b5fc; $custom-dark: #000000;
JSON
{
"hex": "#5d98f9",
"rgb": {
"r": 93,
"g": 152,
"b": 249
},
"hsl": {
"h": 217.308,
"s": 92.857,
"l": 67.059
},
"oklch": {
"l": 0.68429,
"c": 0.15653,
"h": 259.8
},
"luminance": 0.31623
}Semantic roles & 50–950 ramp
primary
#5D98F9
secondary
#F2DFC0
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085