#5980F2#5980F2
#5980F2 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.9% C 0.176 H 267.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5980F2 |
|---|---|
| RGB | rgb(89, 128, 242) |
| HSL | hsl(225, 85%, 65%) |
| HSV | hsv(225, 63%, 95%) |
| CMYK | cmyk(63.2%, 47.1%, 0%, 5.1%) |
| CIE-LAB | lab(56.06, 21.54, -61.45) |
| CIE-LCH | lch(56.06, 65.12, 289.32°) |
| OKLab | oklab(62.89% -0.009 -0.1758) |
| OKLCH | oklch(62.89% 0.176 267.1) |
| XYZ | xyz(27.8605, 23.9705, 87.1457) |
| Luminance | 0.2397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.70
Lightish Blue
#3D7AFD
ΔE00 2.97
Dodger Blue
#3E82FC
ΔE00 3.24
Cornflower
#6A79F7
ΔE00 4.24
Clear Blue
#247AFD
ΔE00 4.41
Azure
#007FFF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5980F2 #F2CB59
analogous
#59CCF2 #5980F2 #7F59F2
triadic
#5980F2 #F25980 #80F259
tetradic
#5980F2 #F259CC #F2CB59 #59F27F
square
#5980F2 #F259CC #F2CB59 #59F27F
split-complementary
#5980F2 #F27F59 #CCF259
monochromatic
#0F3DC1 #2055EE #5980F2 #92ABF6 #CBD7FB
Accessibility & contrast
On white
3.62
#5980F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#5980F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5980F2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5980F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5980F2 | 1.00 | 3.62 | 5.79 | 5.79 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#2780F0
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5980f2; /* rgb */ color: rgb(89, 128, 242); /* oklch */ color: oklch(62.9% 0.176 267.1);
Tailwind
colors: {
custom: {
50: '#96a4f7',
500: '#5980f2',
950: '#000000',
},
}SCSS
$custom: #5980f2; $custom-light: #96a4f7; $custom-dark: #000000;
JSON
{
"hex": "#5980f2",
"rgb": {
"r": 89,
"g": 128,
"b": 242
},
"hsl": {
"h": 224.706,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.62889,
"c": 0.17608,
"h": 267.1
},
"luminance": 0.23973
}Semantic roles & 50–950 ramp
primary
#5980F2
secondary
#EDE0B9
accent
#A904E2
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85