#5977EF#5977EF
#5977EF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.183 H 269.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5977EF |
|---|---|
| RGB | rgb(89, 119, 239) |
| HSL | hsl(228, 82%, 64%) |
| HSV | hsv(228, 63%, 94%) |
| CMYK | cmyk(62.8%, 50.2%, 0%, 6.3%) |
| CIE-LAB | lab(53.54, 26.03, -63.83) |
| CIE-LCH | lch(53.54, 68.93, 292.18°) |
| OKLab | oklab(60.92% -0.001 -0.183) |
| OKLCH | oklch(60.92% 0.183 269.7) |
| XYZ | xyz(26.2914, 21.5472, 84.4181) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.94
Lightish Blue
#3D7AFD
ΔE00 3.51
Cornflower Blue
#5170D7
ΔE00 4.11
Clear Blue
#247AFD
ΔE00 5.15
Soft Blue
#6488EA
ΔE00 5.49
Dodger Blue
#3E82FC
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5977EF #EFD159
analogous
#59C2EF #5977EF #8659EF
triadic
#5977EF #EF5977 #77EF59
tetradic
#5977EF #EF59C2 #EFD159 #59EF86
square
#5977EF #EF59C2 #EFD159 #59EF86
split-complementary
#5977EF #EF8659 #C2EF59
monochromatic
#1234BC #2149EA #5977EF #91A5F4 #C9D2FA
Accessibility & contrast
On white
3.95
#5977EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5977EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5977EF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5977EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5977EF | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5977ef; /* rgb */ color: rgb(89, 119, 239); /* oklch */ color: oklch(60.9% 0.183 269.7);
Tailwind
colors: {
custom: {
50: '#969df5',
500: '#5977ef',
950: '#000000',
},
}SCSS
$custom: #5977ef; $custom-light: #969df5; $custom-dark: #000000;
JSON
{
"hex": "#5977ef",
"rgb": {
"r": 89,
"g": 119,
"b": 239
},
"hsl": {
"h": 228,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.60918,
"c": 0.18297,
"h": 269.7
},
"luminance": 0.21549
}Semantic roles & 50–950 ramp
primary
#5977EF
secondary
#ECE2B8
accent
#B407DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85