#5977F7#5977F7
#5977F7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.5% C 0.194 H 269.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5977F7 |
|---|---|
| RGB | rgb(89, 119, 247) |
| HSL | hsl(229, 91%, 66%) |
| HSV | hsv(229, 64%, 97%) |
| CMYK | cmyk(64%, 51.8%, 0%, 3.1%) |
| CIE-LAB | lab(54.06, 28.72, -67.45) |
| CIE-LCH | lch(54.06, 73.31, 293.06°) |
| OKLab | oklab(61.47% -0.0003 -0.1936) |
| OKLCH | oklch(61.47% 0.194 269.9) |
| XYZ | xyz(27.4995, 22.0304, 90.7808) |
| Luminance | 0.2203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.47
Lightish Blue
#3D7AFD
ΔE00 3.49
Cornflower Blue
#5170D7
ΔE00 4.96
Clear Blue
#247AFD
ΔE00 5.27
Dodger Blue
#3E82FC
ΔE00 5.59
Soft Blue
#6488EA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5977F7 #F7D959
analogous
#59C6F7 #5977F7 #8A59F7
triadic
#5977F7 #F75977 #77F759
tetradic
#5977F7 #F759C6 #F7D959 #59F78A
square
#5977F7 #F759C6 #F7D959 #59F78A
split-complementary
#5977F7 #F78A59 #C6F759
monochromatic
#0A2FCC #1F47F4 #5977F7 #93A7FA #CED7FD
Accessibility & contrast
On white
3.88
#5977F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#5977F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5977F7
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5977F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5977F7 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0095AC
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5977f7; /* rgb */ color: rgb(89, 119, 247); /* oklch */ color: oklch(61.5% 0.194 269.9);
Tailwind
colors: {
custom: {
50: '#979dfb',
500: '#5977f7',
950: '#000000',
},
}SCSS
$custom: #5977f7; $custom-light: #979dfb; $custom-dark: #000000;
JSON
{
"hex": "#5977f7",
"rgb": {
"r": 89,
"g": 119,
"b": 247
},
"hsl": {
"h": 228.608,
"s": 90.805,
"l": 65.882
},
"oklch": {
"l": 0.61473,
"c": 0.1936,
"h": 269.9
},
"luminance": 0.22033
}Semantic roles & 50–950 ramp
primary
#5977F7
secondary
#F0E6BC
accent
#BA00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85