#5980F5#5980F5
#5980F5 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.1% C 0.180 H 267.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5980F5 |
|---|---|
| RGB | rgb(89, 128, 245) |
| HSL | hsl(225, 89%, 65%) |
| HSV | hsv(225, 64%, 96%) |
| CMYK | cmyk(63.7%, 47.8%, 0%, 3.9%) |
| CIE-LAB | lab(56.24, 22.56, -62.82) |
| CIE-LCH | lch(56.24, 66.75, 289.75°) |
| OKLab | oklab(63.09% -0.0087 -0.1799) |
| OKLCH | oklch(63.09% 0.18 267.2) |
| XYZ | xyz(28.3148, 24.1522, 89.5382) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.79
Lightish Blue
#3D7AFD
ΔE00 2.97
Dodger Blue
#3E82FC
ΔE00 3.27
Cornflower
#6A79F7
ΔE00 4.10
Clear Blue
#247AFD
ΔE00 4.48
Azure
#007FFF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5980F5 #F5CE59
analogous
#59CEF5 #5980F5 #8059F5
triadic
#5980F5 #F55980 #80F559
tetradic
#5980F5 #F559CE #F5CE59 #59F580
square
#5980F5 #F559CE #F5CE59 #59F580
split-complementary
#5980F5 #F58059 #CEF559
monochromatic
#0C3BC8 #1F54F2 #5980F5 #93ACF8 #CCD8FC
Accessibility & contrast
On white
3.60
#5980F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#5980F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5980F5
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5980F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5980F5 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438EF9
Deuteranopia (green-blind)
#2080F3
Tritanopia (blue-blind)
#009BAF
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5980f5; /* rgb */ color: rgb(89, 128, 245); /* oklch */ color: oklch(63.1% 0.180 267.2);
Tailwind
colors: {
custom: {
50: '#96a4f9',
500: '#5980f5',
950: '#000000',
},
}SCSS
$custom: #5980f5; $custom-light: #96a4f9; $custom-dark: #000000;
JSON
{
"hex": "#5980f5",
"rgb": {
"r": 89,
"g": 128,
"b": 245
},
"hsl": {
"h": 225,
"s": 88.636,
"l": 65.49
},
"oklch": {
"l": 0.63086,
"c": 0.1801,
"h": 267.2
},
"luminance": 0.24155
}Semantic roles & 50–950 ramp
primary
#5980F5
secondary
#EFE2BB
accent
#AC00E5
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85