#5977EB#5977EB
#5977EB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.178 H 269.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5977EB |
|---|---|
| RGB | rgb(89, 119, 235) |
| HSL | hsl(228, 78%, 64%) |
| HSV | hsv(228, 62%, 92%) |
| CMYK | cmyk(62.1%, 49.4%, 0%, 7.8%) |
| CIE-LAB | lab(53.29, 24.68, -62.01) |
| CIE-LCH | lch(53.29, 66.74, 291.71°) |
| OKLab | oklab(60.65% -0.0013 -0.1776) |
| OKLCH | oklch(60.65% 0.178 269.6) |
| XYZ | xyz(25.7070, 21.3134, 81.3403) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.26
Lightish Blue
#3D7AFD
ΔE00 3.62
Cornflower Blue
#5170D7
ΔE00 3.72
Clear Blue
#247AFD
ΔE00 5.15
Soft Blue
#6488EA
ΔE00 5.49
Royal Blue
#4169E1
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5977EB #EBCD59
analogous
#59C0EB #5977EB #8459EB
triadic
#5977EB #EB5977 #77EB59
tetradic
#5977EB #EB59C0 #EBCD59 #59EB84
square
#5977EB #EB59C0 #EBCD59 #59EB84
split-complementary
#5977EB #EB8459 #C0EB59
monochromatic
#1636B4 #224AE4 #5977EB #90A4F2 #C6D0F8
Accessibility & contrast
On white
3.99
#5977EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#5977EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5977EB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5977EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5977EB | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#1279E9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5977eb; /* rgb */ color: rgb(89, 119, 235); /* oklch */ color: oklch(60.6% 0.178 269.6);
Tailwind
colors: {
custom: {
50: '#959df2',
500: '#5977eb',
950: '#000000',
},
}SCSS
$custom: #5977eb; $custom-light: #959df2; $custom-dark: #000000;
JSON
{
"hex": "#5977eb",
"rgb": {
"r": 89,
"g": 119,
"b": 235
},
"hsl": {
"h": 227.671,
"s": 78.495,
"l": 63.529
},
"oklch": {
"l": 0.60646,
"c": 0.17761,
"h": 269.6
},
"luminance": 0.21316
}Semantic roles & 50–950 ramp
primary
#5977EB
secondary
#EADFB6
accent
#B00BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85