#5981EE#5981EE
#5981EE is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.170 H 266.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5981EE |
|---|---|
| RGB | rgb(89, 129, 238) |
| HSL | hsl(224, 81%, 64%) |
| HSV | hsv(224, 63%, 93%) |
| CMYK | cmyk(62.6%, 45.8%, 0%, 6.7%) |
| CIE-LAB | lab(56.08, 19.59, -59.19) |
| CIE-LCH | lch(56.08, 62.35, 288.31°) |
| OKLab | oklab(62.83% -0.0105 -0.1692) |
| OKLCH | oklch(62.83% 0.17 266.4) |
| XYZ | xyz(27.3974, 23.9949, 84.0600) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.36
Dodger Blue
#3E82FC
ΔE00 3.06
Lightish Blue
#3D7AFD
ΔE00 3.17
Clear Blue
#247AFD
ΔE00 4.40
Cornflower
#6A79F7
ΔE00 4.73
Azure
#007FFF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981EE #EEC659
analogous
#59CBEE #5981EE #7C59EE
triadic
#5981EE #EE5981 #81EE59
tetradic
#5981EE #EE59CB #EEC659 #59EE7C
square
#5981EE #EE59CB #EEC659 #59EE7C
split-complementary
#5981EE #EE7C59 #CBEE59
monochromatic
#1340BA #2157E8 #5981EE #91ABF4 #C8D5F9
Accessibility & contrast
On white
3.62
#5981EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#5981EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981EE
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981EE | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8EF2
Deuteranopia (green-blind)
#3180EC
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5981ee; /* rgb */ color: rgb(89, 129, 238); /* oklch */ color: oklch(62.8% 0.170 266.4);
Tailwind
colors: {
custom: {
50: '#95a5f4',
500: '#5981ee',
950: '#000000',
},
}SCSS
$custom: #5981ee; $custom-light: #95a5f4; $custom-dark: #000000;
JSON
{
"hex": "#5981ee",
"rgb": {
"r": 89,
"g": 129,
"b": 238
},
"hsl": {
"h": 223.893,
"s": 81.421,
"l": 64.118
},
"oklch": {
"l": 0.62831,
"c": 0.16952,
"h": 266.4
},
"luminance": 0.23997
}Semantic roles & 50–950 ramp
primary
#5981EE
secondary
#EBDDB7
accent
#A408DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85