#5977FA#5977FA
#5977FA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.7% C 0.198 H 270.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5977FA |
|---|---|
| RGB | rgb(89, 119, 250) |
| HSL | hsl(229, 94%, 66%) |
| HSV | hsv(229, 64%, 98%) |
| CMYK | cmyk(64.4%, 52.4%, 0%, 2%) |
| CIE-LAB | lab(54.26, 29.73, -68.79) |
| CIE-LCH | lch(54.26, 74.94, 293.37°) |
| OKLab | oklab(61.68% -0.0001 -0.1976) |
| OKLCH | oklch(61.68% 0.198 270) |
| XYZ | xyz(27.9661, 22.2171, 93.2385) |
| Luminance | 0.2222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.38
Lightish Blue
#3D7AFD
ΔE00 3.55
Cornflower Blue
#5170D7
ΔE00 5.29
Clear Blue
#247AFD
ΔE00 5.36
Dodger Blue
#3E82FC
ΔE00 5.64
Soft Blue
#6488EA
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5977FA #FADC59
analogous
#59C8FA #5977FA #8C59FA
triadic
#5977FA #FA5977 #77FA59
tetradic
#5977FA #FA59C8 #FADC59 #59FA8C
square
#5977FA #FA59C8 #FADC59 #59FA8C
split-complementary
#5977FA #FA8C59 #C8FA59
monochromatic
#062CD2 #1E46F8 #5977FA #94A8FC #D0D8FE
Accessibility & contrast
On white
3.86
#5977FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.44
#5977FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5977FA
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5977FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5977FA | 1.00 | 3.86 | 5.44 | 5.44 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F89FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5977fa; /* rgb */ color: rgb(89, 119, 250); /* oklch */ color: oklch(61.7% 0.198 270.0);
Tailwind
colors: {
custom: {
50: '#979dfd',
500: '#5977fa',
950: '#000000',
},
}SCSS
$custom: #5977fa; $custom-light: #979dfd; $custom-dark: #000000;
JSON
{
"hex": "#5977fa",
"rgb": {
"r": 89,
"g": 119,
"b": 250
},
"hsl": {
"h": 228.82,
"s": 94.152,
"l": 66.471
},
"oklch": {
"l": 0.61684,
"c": 0.19756,
"h": 270
},
"luminance": 0.2222
}Semantic roles & 50–950 ramp
primary
#5977FA
secondary
#F1E8BD
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86