#5E98F1#5E98F1
#5E98F1 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.0% C 0.146 H 258.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5E98F1 |
|---|---|
| RGB | rgb(94, 152, 241) |
| HSL | hsl(216, 84%, 66%) |
| HSV | hsv(216, 61%, 95%) |
| CMYK | cmyk(61%, 36.9%, 0%, 5.5%) |
| CIE-LAB | lab(62.66, 7.74, -50.35) |
| CIE-LCH | lch(62.66, 50.94, 278.74°) |
| OKLab | oklab(68.02% -0.0286 -0.1429) |
| OKLCH | oklch(68.02% 0.146 258.7) |
| XYZ | xyz(31.7159, 31.1841, 87.5498) |
| Luminance | 0.3119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.62
Dark Sky Blue
#448EE4
ΔE00 4.32
Dodgerblue
#1E90FF
ΔE00 4.57
Soft Blue
#6488EA
ΔE00 5.92
Faded Blue
#658CBB
ΔE00 6.64
Dodger Blue
#3E82FC
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E98F1 #F1B75E
analogous
#5EE1F1 #5E98F1 #6D5EF1
triadic
#5E98F1 #F15E98 #98F15E
tetradic
#5E98F1 #F15EE1 #F1B75E #5EF16D
square
#5E98F1 #F15EE1 #F1B75E #5EF16D
split-complementary
#5E98F1 #F16D5E #E1F15E
monochromatic
#1157C4 #2674EC #5E98F1 #96BCF6 #CFE0FB
Accessibility & contrast
On white
2.90
#5E98F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#5E98F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5E98F1
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E98F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E98F1 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#729FF5
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5e98f1; /* rgb */ color: rgb(94, 152, 241); /* oklch */ color: oklch(68.0% 0.146 258.7);
Tailwind
colors: {
custom: {
50: '#97b5f6',
500: '#5e98f1',
950: '#000000',
},
}SCSS
$custom: #5e98f1; $custom-light: #97b5f6; $custom-dark: #000000;
JSON
{
"hex": "#5e98f1",
"rgb": {
"r": 94,
"g": 152,
"b": 241
},
"hsl": {
"h": 216.327,
"s": 84,
"l": 65.686
},
"oklch": {
"l": 0.68024,
"c": 0.14572,
"h": 258.7
},
"luminance": 0.31187
}Semantic roles & 50–950 ramp
primary
#5E98F1
secondary
#EEDBBD
accent
#8A05E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085