#5977F2#5977F2
#5977F2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.187 H 269.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5977F2 |
|---|---|
| RGB | rgb(89, 119, 242) |
| HSL | hsl(228, 85%, 65%) |
| HSV | hsv(228, 63%, 95%) |
| CMYK | cmyk(63.2%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(53.73, 27.04, -65.19) |
| CIE-LCH | lch(53.73, 70.58, 292.52°) |
| OKLab | oklab(61.12% -0.0007 -0.187) |
| OKLCH | oklch(61.12% 0.187 269.8) |
| XYZ | xyz(26.7382, 21.7259, 86.7716) |
| Luminance | 0.2173 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.73
Lightish Blue
#3D7AFD
ΔE00 3.47
Cornflower Blue
#5170D7
ΔE00 4.42
Clear Blue
#247AFD
ΔE00 5.17
Soft Blue
#6488EA
ΔE00 5.52
Dodger Blue
#3E82FC
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5977F2 #F2D459
analogous
#59C4F2 #5977F2 #8759F2
triadic
#5977F2 #F25977 #77F259
tetradic
#5977F2 #F259C4 #F2D459 #59F287
square
#5977F2 #F259C4 #F2D459 #59F287
split-complementary
#5977F2 #F28759 #C4F259
monochromatic
#0F32C1 #2049EE #5977F2 #92A5F6 #CBD4FB
Accessibility & contrast
On white
3.93
#5977F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5977F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5977F2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5977F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5977F2 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5977f2; /* rgb */ color: rgb(89, 119, 242); /* oklch */ color: oklch(61.1% 0.187 269.8);
Tailwind
colors: {
custom: {
50: '#969df7',
500: '#5977f2',
950: '#000000',
},
}SCSS
$custom: #5977f2; $custom-light: #969df7; $custom-dark: #000000;
JSON
{
"hex": "#5977f2",
"rgb": {
"r": 89,
"g": 119,
"b": 242
},
"hsl": {
"h": 228.235,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.61124,
"c": 0.18697,
"h": 269.8
},
"luminance": 0.21728
}Semantic roles & 50–950 ramp
primary
#5977F2
secondary
#EDE3B9
accent
#B604E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85