#5981EF#5981EF
#5981EF is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.171 H 266.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5981EF |
|---|---|
| RGB | rgb(89, 129, 239) |
| HSL | hsl(224, 82%, 64%) |
| HSV | hsv(224, 63%, 94%) |
| CMYK | cmyk(62.8%, 46%, 0%, 6.3%) |
| CIE-LAB | lab(56.14, 19.92, -59.65) |
| CIE-LCH | lch(56.14, 62.89, 288.47°) |
| OKLab | oklab(62.9% -0.0104 -0.1705) |
| OKLCH | oklch(62.9% 0.171 266.5) |
| XYZ | xyz(27.5447, 24.0539, 84.8359) |
| Luminance | 0.2406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.37
Dodger Blue
#3E82FC
ΔE00 3.05
Lightish Blue
#3D7AFD
ΔE00 3.15
Clear Blue
#247AFD
ΔE00 4.40
Cornflower
#6A79F7
ΔE00 4.67
Azure
#007FFF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981EF #EFC759
analogous
#59CCEF #5981EF #7C59EF
triadic
#5981EF #EF5981 #81EF59
tetradic
#5981EF #EF59CC #EFC759 #59EF7C
square
#5981EF #EF59CC #EFC759 #59EF7C
split-complementary
#5981EF #EF7C59 #CCEF59
monochromatic
#123FBC #2157EA #5981EF #91ABF4 #C9D6FA
Accessibility & contrast
On white
3.61
#5981EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#5981EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981EF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981EF | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#2F80ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5981ef; /* rgb */ color: rgb(89, 129, 239); /* oklch */ color: oklch(62.9% 0.171 266.5);
Tailwind
colors: {
custom: {
50: '#95a5f5',
500: '#5981ef',
950: '#000000',
},
}SCSS
$custom: #5981ef; $custom-light: #95a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5981ef",
"rgb": {
"r": 89,
"g": 129,
"b": 239
},
"hsl": {
"h": 224,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.62895,
"c": 0.17087,
"h": 266.5
},
"luminance": 0.24056
}Semantic roles & 50–950 ramp
primary
#5981EF
secondary
#ECDEB8
accent
#A507DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85