#5981E7#5981E7
#5981E7 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.4% C 0.160 H 265.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5981E7 |
|---|---|
| RGB | rgb(89, 129, 231) |
| HSL | hsl(223, 75%, 63%) |
| HSV | hsv(223, 61%, 91%) |
| CMYK | cmyk(61.5%, 44.2%, 0%, 9.4%) |
| CIE-LAB | lab(55.68, 17.23, -55.94) |
| CIE-LCH | lch(55.68, 58.54, 287.12°) |
| OKLab | oklab(62.39% -0.0116 -0.1596) |
| OKLCH | oklch(62.39% 0.16 265.8) |
| XYZ | xyz(26.3889, 23.5916, 78.7488) |
| Luminance | 0.2359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.46
Dodger Blue
#3E82FC
ΔE00 3.23
Lightish Blue
#3D7AFD
ΔE00 3.44
Clear Blue
#247AFD
ΔE00 4.43
Cornflower
#6A79F7
ΔE00 5.20
Azure
#007FFF
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981E7 #E7BF59
analogous
#59C8E7 #5981E7 #7859E7
triadic
#5981E7 #E75981 #81E759
tetradic
#5981E7 #E759C8 #E7BF59 #59E778
square
#5981E7 #E759C8 #E7BF59 #59E778
split-complementary
#5981E7 #E77859 #C8E759
monochromatic
#1943AD #2458DF #5981E7 #8EAAEF #C4D2F6
Accessibility & contrast
On white
3.67
#5981E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#5981E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981E7
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981E7 | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518CEB
Deuteranopia (green-blind)
#3B7FE5
Tritanopia (blue-blind)
#0098A9
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5981e7; /* rgb */ color: rgb(89, 129, 231); /* oklch */ color: oklch(62.4% 0.160 265.8);
Tailwind
colors: {
custom: {
50: '#94a5ef',
500: '#5981e7',
950: '#000000',
},
}SCSS
$custom: #5981e7; $custom-light: #94a5ef; $custom-dark: #000000;
JSON
{
"hex": "#5981e7",
"rgb": {
"r": 89,
"g": 129,
"b": 231
},
"hsl": {
"h": 223.099,
"s": 74.737,
"l": 62.745
},
"oklch": {
"l": 0.62389,
"c": 0.16007,
"h": 265.8
},
"luminance": 0.23594
}Semantic roles & 50–950 ramp
primary
#5981E7
secondary
#E8D9B4
accent
#9E0FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84