#5981E8#5981E8
#5981E8 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.161 H 265.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5981E8 |
|---|---|
| RGB | rgb(89, 129, 232) |
| HSL | hsl(223, 76%, 63%) |
| HSV | hsv(223, 62%, 91%) |
| CMYK | cmyk(61.6%, 44.4%, 0%, 9%) |
| CIE-LAB | lab(55.73, 17.57, -56.41) |
| CIE-LCH | lch(55.73, 59.08, 287.30°) |
| OKLab | oklab(62.45% -0.0114 -0.161) |
| OKLCH | oklch(62.45% 0.161 265.9) |
| XYZ | xyz(26.5306, 23.6482, 79.4947) |
| Luminance | 0.2365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.43
Dodger Blue
#3E82FC
ΔE00 3.20
Lightish Blue
#3D7AFD
ΔE00 3.39
Clear Blue
#247AFD
ΔE00 4.42
Cornflower
#6A79F7
ΔE00 5.12
Azure
#007FFF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981E8 #E8C059
analogous
#59C8E8 #5981E8 #7959E8
triadic
#5981E8 #E85981 #81E859
tetradic
#5981E8 #E859C8 #E8C059 #59E879
square
#5981E8 #E859C8 #E8C059 #59E879
split-complementary
#5981E8 #E87959 #C8E859
monochromatic
#1842AE #2358E1 #5981E8 #8FAAEF #C5D3F7
Accessibility & contrast
On white
3.66
#5981E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#5981E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981E8
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981E8 | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508CEC
Deuteranopia (green-blind)
#3A7FE6
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5981e8; /* rgb */ color: rgb(89, 129, 232); /* oklch */ color: oklch(62.5% 0.161 265.9);
Tailwind
colors: {
custom: {
50: '#94a5f0',
500: '#5981e8',
950: '#000000',
},
}SCSS
$custom: #5981e8; $custom-light: #94a5f0; $custom-dark: #000000;
JSON
{
"hex": "#5981e8",
"rgb": {
"r": 89,
"g": 129,
"b": 232
},
"hsl": {
"h": 223.217,
"s": 75.661,
"l": 62.941
},
"oklch": {
"l": 0.62451,
"c": 0.16143,
"h": 265.9
},
"luminance": 0.23651
}Semantic roles & 50–950 ramp
primary
#5981E8
secondary
#E8DAB5
accent
#9F0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84