#5A77EC#5A77EC
#5A77EC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.8% C 0.179 H 269.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5A77EC |
|---|---|
| RGB | rgb(90, 119, 236) |
| HSL | hsl(228, 79%, 64%) |
| HSV | hsv(228, 62%, 93%) |
| CMYK | cmyk(61.9%, 49.6%, 0%, 7.5%) |
| CIE-LAB | lab(53.41, 25.19, -62.37) |
| CIE-LCH | lch(53.41, 67.27, 291.99°) |
| OKLab | oklab(60.77% -0.0003 -0.1787) |
| OKLCH | oklch(60.77% 0.179 269.9) |
| XYZ | xyz(25.9485, 21.4212, 82.1079) |
| Luminance | 0.2142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.04
Lightish Blue
#3D7AFD
ΔE00 3.71
Cornflower Blue
#5170D7
ΔE00 3.87
Clear Blue
#247AFD
ΔE00 5.29
Soft Blue
#6488EA
ΔE00 5.50
Royal Blue
#4169E1
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A77EC #ECCF5A
analogous
#5AC0EC #5A77EC #865AEC
triadic
#5A77EC #EC5A77 #77EC5A
tetradic
#5A77EC #EC5AC0 #ECCF5A #5AEC86
square
#5A77EC #EC5AC0 #ECCF5A #5AEC86
split-complementary
#5A77EC #EC865A #C0EC5A
monochromatic
#1535B7 #234AE6 #5A77EC #91A4F2 #C8D1F9
Accessibility & contrast
On white
3.97
#5A77EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#5A77EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A77EC
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A77EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A77EC | 1.00 | 3.97 | 5.28 | 5.28 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#1079EA
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a77ec; /* rgb */ color: rgb(90, 119, 236); /* oklch */ color: oklch(60.8% 0.179 269.9);
Tailwind
colors: {
custom: {
50: '#969df3',
500: '#5a77ec',
950: '#000000',
},
}SCSS
$custom: #5a77ec; $custom-light: #969df3; $custom-dark: #000000;
JSON
{
"hex": "#5a77ec",
"rgb": {
"r": 90,
"g": 119,
"b": 236
},
"hsl": {
"h": 228.082,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.60769,
"c": 0.17866,
"h": 269.9
},
"luminance": 0.21423
}Semantic roles & 50–950 ramp
primary
#5A77EC
secondary
#EBE0B7
accent
#B20ADC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85