#5A77EA#5A77EA
#5A77EA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.176 H 269.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5A77EA |
|---|---|
| RGB | rgb(90, 119, 234) |
| HSL | hsl(228, 77%, 64%) |
| HSV | hsv(228, 62%, 92%) |
| CMYK | cmyk(61.5%, 49.1%, 0%, 8.2%) |
| CIE-LAB | lab(53.28, 24.52, -61.46) |
| CIE-LCH | lch(53.28, 66.17, 291.75°) |
| OKLab | oklab(60.63% -0.0005 -0.176) |
| OKLCH | oklch(60.63% 0.176 269.8) |
| XYZ | xyz(25.6596, 21.3056, 80.5861) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.22
Cornflower Blue
#5170D7
ΔE00 3.68
Lightish Blue
#3D7AFD
ΔE00 3.78
Clear Blue
#247AFD
ΔE00 5.30
Soft Blue
#6488EA
ΔE00 5.50
Royal Blue
#4169E1
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A77EA #EACD5A
analogous
#5ABFEA #5A77EA #855AEA
triadic
#5A77EA #EA5A77 #77EA5A
tetradic
#5A77EA #EA5ABF #EACD5A #5AEA85
square
#5A77EA #EA5ABF #EACD5A #5AEA85
split-complementary
#5A77EA #EA855A #BFEA5A
monochromatic
#1736B3 #244AE3 #5A77EA #90A4F1 #C7D0F8
Accessibility & contrast
On white
3.99
#5A77EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#5A77EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A77EA
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A77EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A77EA | 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)
#3986EE
Deuteranopia (green-blind)
#1779E8
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a77ea; /* rgb */ color: rgb(90, 119, 234); /* oklch */ color: oklch(60.6% 0.176 269.8);
Tailwind
colors: {
custom: {
50: '#959df1',
500: '#5a77ea',
950: '#000000',
},
}SCSS
$custom: #5a77ea; $custom-light: #959df1; $custom-dark: #000000;
JSON
{
"hex": "#5a77ea",
"rgb": {
"r": 90,
"g": 119,
"b": 234
},
"hsl": {
"h": 227.917,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.60634,
"c": 0.17596,
"h": 269.8
},
"luminance": 0.21308
}Semantic roles & 50–950 ramp
primary
#5A77EA
secondary
#E9DFB6
accent
#B00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85