#5981EA#5981EA
#5981EA is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.6% C 0.164 H 266.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5981EA |
|---|---|
| RGB | rgb(89, 129, 234) |
| HSL | hsl(223, 78%, 63%) |
| HSV | hsv(223, 62%, 92%) |
| CMYK | cmyk(62%, 44.9%, 0%, 8.2%) |
| CIE-LAB | lab(55.85, 18.24, -57.34) |
| CIE-LCH | lch(55.85, 60.17, 287.65°) |
| OKLab | oklab(62.58% -0.0111 -0.1637) |
| OKLCH | oklch(62.58% 0.164 266.1) |
| XYZ | xyz(26.8163, 23.7625, 80.9994) |
| Luminance | 0.2377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.39
Dodger Blue
#3E82FC
ΔE00 3.14
Lightish Blue
#3D7AFD
ΔE00 3.30
Clear Blue
#247AFD
ΔE00 4.40
Cornflower
#6A79F7
ΔE00 4.99
Azure
#007FFF
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5981EA #EAC259
analogous
#59CAEA #5981EA #7959EA
triadic
#5981EA #EA5981 #81EA59
tetradic
#5981EA #EA59CA #EAC259 #59EA79
square
#5981EA #EA59CA #EAC259 #59EA79
split-complementary
#5981EA #EA7959 #CAEA59
monochromatic
#1741B2 #2358E3 #5981EA #8FAAF1 #C6D3F8
Accessibility & contrast
On white
3.65
#5981EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#5981EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5981EA
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5981EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5981EA | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#3780E8
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5981ea; /* rgb */ color: rgb(89, 129, 234); /* oklch */ color: oklch(62.6% 0.164 266.1);
Tailwind
colors: {
custom: {
50: '#94a5f1',
500: '#5981ea',
950: '#000000',
},
}SCSS
$custom: #5981ea; $custom-light: #94a5f1; $custom-dark: #000000;
JSON
{
"hex": "#5981ea",
"rgb": {
"r": 89,
"g": 129,
"b": 234
},
"hsl": {
"h": 223.448,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.62577,
"c": 0.16413,
"h": 266.1
},
"luminance": 0.23765
}Semantic roles & 50–950 ramp
primary
#5981EA
secondary
#E9DBB6
accent
#A10CDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85