#5D98F7#5D98F7
#5D98F7 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.3% C 0.154 H 259.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5D98F7 |
|---|---|
| RGB | rgb(93, 152, 247) |
| HSL | hsl(217, 91%, 67%) |
| HSV | hsv(217, 62%, 97%) |
| CMYK | cmyk(62.3%, 38.5%, 0%, 3.1%) |
| CIE-LAB | lab(62.92, 9.54, -53.24) |
| CIE-LCH | lch(62.92, 54.08, 280.16°) |
| OKLab | oklab(68.32% -0.028 -0.1514) |
| OKLCH | oklch(68.32% 0.154 259.5) |
| XYZ | xyz(32.5250, 31.4960, 92.3429) |
| Luminance | 0.3150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.72
Dark Sky Blue
#448EE4
ΔE00 4.64
Dodgerblue
#1E90FF
ΔE00 4.69
Soft Blue
#6488EA
ΔE00 5.94
Dodger Blue
#3E82FC
ΔE00 6.75
Faded Blue
#658CBB
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D98F7 #F7BC5D
analogous
#5DE5F7 #5D98F7 #6F5DF7
triadic
#5D98F7 #F75D98 #98F75D
tetradic
#5D98F7 #F75DE5 #F7BC5D #5DF76F
square
#5D98F7 #F75DE5 #F7BC5D #5DF76F
split-complementary
#5D98F7 #F76F5D #E5F75D
monochromatic
#0A56CF #2373F4 #5D98F7 #97BDFA #D2E2FD
Accessibility & contrast
On white
2.88
#5D98F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#5D98F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5D98F7
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D98F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D98F7 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA0FB
Deuteranopia (green-blind)
#5892F5
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5d98f7; /* rgb */ color: rgb(93, 152, 247); /* oklch */ color: oklch(68.3% 0.154 259.5);
Tailwind
colors: {
custom: {
50: '#98b5fa',
500: '#5d98f7',
950: '#000000',
},
}SCSS
$custom: #5d98f7; $custom-light: #98b5fa; $custom-dark: #000000;
JSON
{
"hex": "#5d98f7",
"rgb": {
"r": 93,
"g": 152,
"b": 247
},
"hsl": {
"h": 217.013,
"s": 90.588,
"l": 66.667
},
"oklch": {
"l": 0.68315,
"c": 0.15392,
"h": 259.5
},
"luminance": 0.31499
}Semantic roles & 50–950 ramp
primary
#5D98F7
secondary
#F1DEBF
accent
#8E00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085