#5980E5#5980E5
#5980E5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.1% C 0.159 H 266.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5980E5 |
|---|---|
| RGB | rgb(89, 128, 229) |
| HSL | hsl(223, 73%, 62%) |
| HSV | hsv(223, 61%, 90%) |
| CMYK | cmyk(61.1%, 44.1%, 0%, 10.2%) |
| CIE-LAB | lab(55.30, 17.17, -55.44) |
| CIE-LCH | lch(55.30, 58.04, 287.21°) |
| OKLab | oklab(62.06% -0.0109 -0.1582) |
| OKLCH | oklch(62.06% 0.159 266) |
| XYZ | xyz(25.9770, 23.2171, 77.2259) |
| Luminance | 0.2322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.79
Lightish Blue
#3D7AFD
ΔE00 3.43
Dodger Blue
#3E82FC
ΔE00 3.49
Clear Blue
#247AFD
ΔE00 4.44
Cornflower
#6A79F7
ΔE00 5.10
Azure
#007FFF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5980E5 #E5BE59
analogous
#59C6E5 #5980E5 #7859E5
triadic
#5980E5 #E55980 #80E559
tetradic
#5980E5 #E559C6 #E5BE59 #59E578
square
#5980E5 #E559C6 #E5BE59 #59E578
split-complementary
#5980E5 #E57859 #C6E559
monochromatic
#1A42A9 #2458DD #5980E5 #8EA8ED #C3D1F6
Accessibility & contrast
On white
3.72
#5980E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5980E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5980E5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5980E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5980E5 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518BE9
Deuteranopia (green-blind)
#3B7EE3
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5980e5; /* rgb */ color: rgb(89, 128, 229); /* oklch */ color: oklch(62.1% 0.159 266.0);
Tailwind
colors: {
custom: {
50: '#94a4ee',
500: '#5980e5',
950: '#000000',
},
}SCSS
$custom: #5980e5; $custom-light: #94a4ee; $custom-dark: #000000;
JSON
{
"hex": "#5980e5",
"rgb": {
"r": 89,
"g": 128,
"b": 229
},
"hsl": {
"h": 223.286,
"s": 72.917,
"l": 62.353
},
"oklch": {
"l": 0.62059,
"c": 0.15855,
"h": 266
},
"luminance": 0.23219
}Semantic roles & 50–950 ramp
primary
#5980E5
secondary
#E6D8B3
accent
#9E10D5
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84