#5977EE#5977EE
#5977EE is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.182 H 269.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5977EE |
|---|---|
| RGB | rgb(89, 119, 238) |
| HSL | hsl(228, 81%, 64%) |
| HSV | hsv(228, 63%, 93%) |
| CMYK | cmyk(62.6%, 50%, 0%, 6.7%) |
| CIE-LAB | lab(53.48, 25.69, -63.38) |
| CIE-LCH | lch(53.48, 68.39, 292.07°) |
| OKLab | oklab(60.85% -0.001 -0.1816) |
| OKLCH | oklch(60.85% 0.182 269.7) |
| XYZ | xyz(26.1440, 21.4883, 83.6422) |
| Luminance | 0.2149 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.01
Lightish Blue
#3D7AFD
ΔE00 3.53
Cornflower Blue
#5170D7
ΔE00 4.01
Clear Blue
#247AFD
ΔE00 5.15
Soft Blue
#6488EA
ΔE00 5.49
Dodger Blue
#3E82FC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5977EE #EED059
analogous
#59C2EE #5977EE #8559EE
triadic
#5977EE #EE5977 #77EE59
tetradic
#5977EE #EE59C2 #EED059 #59EE85
square
#5977EE #EE59C2 #EED059 #59EE85
split-complementary
#5977EE #EE8559 #C2EE59
monochromatic
#1335BA #214AE8 #5977EE #91A4F4 #C8D2F9
Accessibility & contrast
On white
3.96
#5977EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#5977EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5977EE
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5977EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5977EE | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#0279EC
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5977ee; /* rgb */ color: rgb(89, 119, 238); /* oklch */ color: oklch(60.9% 0.182 269.7);
Tailwind
colors: {
custom: {
50: '#959df4',
500: '#5977ee',
950: '#000000',
},
}SCSS
$custom: #5977ee; $custom-light: #959df4; $custom-dark: #000000;
JSON
{
"hex": "#5977ee",
"rgb": {
"r": 89,
"g": 119,
"b": 238
},
"hsl": {
"h": 227.919,
"s": 81.421,
"l": 64.118
},
"oklch": {
"l": 0.6085,
"c": 0.18163,
"h": 269.7
},
"luminance": 0.21491
}Semantic roles & 50–950 ramp
primary
#5977EE
secondary
#EBE1B7
accent
#B308DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85