#5977EA#5977EA
#5977EA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.176 H 269.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5977EA |
|---|---|
| RGB | rgb(89, 119, 234) |
| HSL | hsl(228, 78%, 63%) |
| HSV | hsv(228, 62%, 92%) |
| CMYK | cmyk(62%, 49.1%, 0%, 8.2%) |
| CIE-LAB | lab(53.23, 24.35, -61.55) |
| CIE-LCH | lch(53.23, 66.19, 291.58°) |
| OKLab | oklab(60.58% -0.0015 -0.1762) |
| OKLCH | oklch(60.58% 0.176 269.5) |
| XYZ | xyz(25.5629, 21.2558, 80.5816) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.35
Cornflower Blue
#5170D7
ΔE00 3.62
Lightish Blue
#3D7AFD
ΔE00 3.65
Clear Blue
#247AFD
ΔE00 5.16
Royal Blue
#4169E1
ΔE00 5.46
Soft Blue
#6488EA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5977EA #EACC59
analogous
#59BFEA #5977EA #8359EA
triadic
#5977EA #EA5977 #77EA59
tetradic
#5977EA #EA59BF #EACC59 #59EA83
square
#5977EA #EA59BF #EACC59 #59EA83
split-complementary
#5977EA #EA8359 #BFEA59
monochromatic
#1737B2 #234AE3 #5977EA #8FA4F1 #C6D0F8
Accessibility & contrast
On white
4.00
#5977EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5977EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5977EA
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5977EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5977EA | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#1679E8
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5977ea; /* rgb */ color: rgb(89, 119, 234); /* oklch */ color: oklch(60.6% 0.176 269.5);
Tailwind
colors: {
custom: {
50: '#959df1',
500: '#5977ea',
950: '#000000',
},
}SCSS
$custom: #5977ea; $custom-light: #959df1; $custom-dark: #000000;
JSON
{
"hex": "#5977ea",
"rgb": {
"r": 89,
"g": 119,
"b": 234
},
"hsl": {
"h": 227.586,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.60578,
"c": 0.17626,
"h": 269.5
},
"luminance": 0.21258
}Semantic roles & 50–950 ramp
primary
#5977EA
secondary
#E9DFB6
accent
#AF0CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85