#5D98F6#5D98F6
#5D98F6 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.153 H 259.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5D98F6 |
|---|---|
| RGB | rgb(93, 152, 246) |
| HSL | hsl(217, 89%, 66%) |
| HSV | hsv(217, 62%, 96%) |
| CMYK | cmyk(62.2%, 38.2%, 0%, 3.5%) |
| CIE-LAB | lab(62.87, 9.21, -52.77) |
| CIE-LCH | lch(62.87, 53.57, 279.90°) |
| OKLab | oklab(68.26% -0.0282 -0.15) |
| OKLCH | oklch(68.26% 0.153 259.3) |
| XYZ | xyz(32.3711, 31.4344, 91.5324) |
| Luminance | 0.3144 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.71
Dark Sky Blue
#448EE4
ΔE00 4.56
Dodgerblue
#1E90FF
ΔE00 4.64
Soft Blue
#6488EA
ΔE00 5.95
Dodger Blue
#3E82FC
ΔE00 6.76
Faded Blue
#658CBB
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D98F6 #F6BB5D
analogous
#5DE4F6 #5D98F6 #6F5DF6
triadic
#5D98F6 #F65D98 #98F65D
tetradic
#5D98F6 #F65DE4 #F6BB5D #5DF66F
square
#5D98F6 #F65DE4 #F6BB5D #5DF66F
split-complementary
#5D98F6 #F66F5D #E4F65D
monochromatic
#0B56CD #2373F3 #5D98F6 #97BDF9 #D1E2FC
Accessibility & contrast
On white
2.88
#5D98F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#5D98F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5D98F6
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D98F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D98F6 | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA0FA
Deuteranopia (green-blind)
#5992F4
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5d98f6; /* rgb */ color: rgb(93, 152, 246); /* oklch */ color: oklch(68.3% 0.153 259.3);
Tailwind
colors: {
custom: {
50: '#98b5f9',
500: '#5d98f6',
950: '#000000',
},
}SCSS
$custom: #5d98f6; $custom-light: #98b5f9; $custom-dark: #000000;
JSON
{
"hex": "#5d98f6",
"rgb": {
"r": 93,
"g": 152,
"b": 246
},
"hsl": {
"h": 216.863,
"s": 89.474,
"l": 66.471
},
"oklch": {
"l": 0.68258,
"c": 0.15262,
"h": 259.3
},
"luminance": 0.31437
}Semantic roles & 50–950 ramp
primary
#5D98F6
secondary
#F0DDBF
accent
#8D00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085