#5981E9#5981E9
#5981E9 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.163 H 266.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5981E9 |
|---|---|
| RGB | rgb(89, 129, 233) |
| HSL | hsl(223, 77%, 63%) |
| HSV | hsv(223, 62%, 91%) |
| CMYK | cmyk(61.8%, 44.6%, 0%, 8.6%) |
| CIE-LAB | lab(55.79, 17.91, -56.88) |
| CIE-LCH | lch(55.79, 59.63, 287.48°) |
| OKLab | oklab(62.51% -0.0113 -0.1624) |
| OKLCH | oklch(62.51% 0.163 266) |
| XYZ | xyz(26.6730, 23.7052, 80.2449) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.41
Dodger Blue
#3E82FC
ΔE00 3.17
Lightish Blue
#3D7AFD
ΔE00 3.34
Clear Blue
#247AFD
ΔE00 4.41
Cornflower
#6A79F7
ΔE00 5.05
Azure
#007FFF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981E9 #E9C159
analogous
#59C9E9 #5981E9 #7959E9
triadic
#5981E9 #E95981 #81E959
tetradic
#5981E9 #E959C9 #E9C159 #59E979
square
#5981E9 #E959C9 #E9C159 #59E979
split-complementary
#5981E9 #E97959 #C9E959
monochromatic
#1742B0 #2358E2 #5981E9 #8FAAF0 #C5D3F7
Accessibility & contrast
On white
3.66
#5981E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#5981E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981E9
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981E9 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508DED
Deuteranopia (green-blind)
#3880E7
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5981e9; /* rgb */ color: rgb(89, 129, 233); /* oklch */ color: oklch(62.5% 0.163 266.0);
Tailwind
colors: {
custom: {
50: '#94a5f0',
500: '#5981e9',
950: '#000000',
},
}SCSS
$custom: #5981e9; $custom-light: #94a5f0; $custom-dark: #000000;
JSON
{
"hex": "#5981e9",
"rgb": {
"r": 89,
"g": 129,
"b": 233
},
"hsl": {
"h": 223.333,
"s": 76.596,
"l": 63.137
},
"oklch": {
"l": 0.62514,
"c": 0.16277,
"h": 266
},
"luminance": 0.23708
}Semantic roles & 50–950 ramp
primary
#5981E9
secondary
#E9DAB5
accent
#A00DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85