#5A98FF#5A98FF
#5A98FF is a light, vivid blue. Relative luminance 0.319; OKLCH L 68.6% C 0.165 H 260.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5A98FF |
|---|---|
| RGB | rgb(90, 152, 255) |
| HSL | hsl(217, 100%, 68%) |
| HSV | hsv(217, 65%, 100%) |
| CMYK | cmyk(64.7%, 40.4%, 0%, 0%) |
| CIE-LAB | lab(63.22, 11.70, -57.16) |
| CIE-LCH | lch(63.22, 58.34, 281.57°) |
| OKLab | oklab(68.64% -0.0287 -0.1629) |
| OKLCH | oklch(68.64% 0.165 260) |
| XYZ | xyz(33.4883, 31.8469, 98.9706) |
| Luminance | 0.3185 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 2.20
Dodgerblue
#1E90FF
ΔE00 4.75
Dark Sky Blue
#448EE4
ΔE00 4.98
Soft Blue
#6488EA
ΔE00 6.18
Dodger Blue
#3E82FC
ΔE00 6.77
Faded Blue
#658CBB
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A98FF #FFC15A
analogous
#5AEAFF #5A98FF #6F5AFF
triadic
#5A98FF #FF5A98 #98FF5A
tetradic
#5A98FF #FF5AEA #FFC15A #5AFF6F
square
#5A98FF #FF5AEA #FFC15A #5AFF6F
split-complementary
#5A98FF #FF6F5A #EAFF5A
monochromatic
#0054DF #1D72FF #5A98FF #97BEFF #D4E4FF
Accessibility & contrast
On white
2.85
#5A98FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#5A98FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5A98FF
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A98FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A98FF | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#5092FD
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #5a98ff; /* rgb */ color: rgb(90, 152, 255); /* oklch */ color: oklch(68.6% 0.165 260.0);
Tailwind
colors: {
custom: {
50: '#98b5ff',
500: '#5a98ff',
950: '#000000',
},
}SCSS
$custom: #5a98ff; $custom-light: #98b5ff; $custom-dark: #000000;
JSON
{
"hex": "#5a98ff",
"rgb": {
"r": 90,
"g": 152,
"b": 255
},
"hsl": {
"h": 217.455,
"s": 100,
"l": 67.647
},
"oklch": {
"l": 0.68642,
"c": 0.16541,
"h": 260
},
"luminance": 0.3185
}Semantic roles & 50–950 ramp
primary
#5A98FF
secondary
#F4E1C1
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086