#5E98F8#5E98F8
#5E98F8 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.155 H 260.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5E98F8 |
|---|---|
| RGB | rgb(94, 152, 248) |
| HSL | hsl(217, 92%, 67%) |
| HSV | hsv(217, 62%, 97%) |
| CMYK | cmyk(62.1%, 38.7%, 0%, 2.7%) |
| CIE-LAB | lab(63.02, 10.04, -53.63) |
| CIE-LCH | lch(63.02, 54.56, 280.61°) |
| OKLab | oklab(68.42% -0.027 -0.1525) |
| OKLCH | oklch(68.42% 0.155 260) |
| XYZ | xyz(32.7816, 31.6104, 93.1626) |
| Luminance | 0.3161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.66
Dark Sky Blue
#448EE4
ΔE00 4.81
Dodgerblue
#1E90FF
ΔE00 4.87
Soft Blue
#6488EA
ΔE00 5.86
Dodger Blue
#3E82FC
ΔE00 6.75
Faded Blue
#658CBB
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E98F8 #F8BE5E
analogous
#5EE5F8 #5E98F8 #715EF8
triadic
#5E98F8 #F85E98 #98F85E
tetradic
#5E98F8 #F85EE5 #F8BE5E #5EF871
square
#5E98F8 #F85EE5 #F8BE5E #5EF871
split-complementary
#5E98F8 #F8715E #E5F85E
monochromatic
#0955D2 #2372F5 #5E98F8 #99BEFB #D3E3FD
Accessibility & contrast
On white
2.87
#5E98F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#5E98F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5E98F8
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E98F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E98F8 | 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)
#6EA0FC
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5e98f8; /* rgb */ color: rgb(94, 152, 248); /* oklch */ color: oklch(68.4% 0.155 260.0);
Tailwind
colors: {
custom: {
50: '#98b5fb',
500: '#5e98f8',
950: '#000000',
},
}SCSS
$custom: #5e98f8; $custom-light: #98b5fb; $custom-dark: #000000;
JSON
{
"hex": "#5e98f8",
"rgb": {
"r": 94,
"g": 152,
"b": 248
},
"hsl": {
"h": 217.403,
"s": 91.667,
"l": 67.059
},
"oklch": {
"l": 0.68417,
"c": 0.15486,
"h": 260
},
"luminance": 0.31613
}Semantic roles & 50–950 ramp
primary
#5E98F8
secondary
#F1DFC0
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085