#5A77EE#5A77EE
#5A77EE is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.9% C 0.181 H 270.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5A77EE |
|---|---|
| RGB | rgb(90, 119, 238) |
| HSL | hsl(228, 81%, 64%) |
| HSV | hsv(228, 62%, 93%) |
| CMYK | cmyk(62.2%, 50%, 0%, 6.7%) |
| CIE-LAB | lab(53.53, 25.86, -63.29) |
| CIE-LCH | lch(53.53, 68.37, 292.23°) |
| OKLab | oklab(60.91% -0.0001 -0.1813) |
| OKLCH | oklch(60.91% 0.181 270) |
| XYZ | xyz(26.2407, 21.5381, 83.6468) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.88
Lightish Blue
#3D7AFD
ΔE00 3.66
Cornflower Blue
#5170D7
ΔE00 4.07
Clear Blue
#247AFD
ΔE00 5.29
Soft Blue
#6488EA
ΔE00 5.50
Dodger Blue
#3E82FC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A77EE #EED15A
analogous
#5AC1EE #5A77EE #875AEE
triadic
#5A77EE #EE5A77 #77EE5A
tetradic
#5A77EE #EE5AC1 #EED15A #5AEE87
square
#5A77EE #EE5AC1 #EED15A #5AEE87
split-complementary
#5A77EE #EE875A #C1EE5A
monochromatic
#1334BA #2349E8 #5A77EE #91A5F4 #C9D2F9
Accessibility & contrast
On white
3.96
#5A77EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#5A77EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A77EE
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A77EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A77EE | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 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)
#3487F2
Deuteranopia (green-blind)
#057AEC
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a77ee; /* rgb */ color: rgb(90, 119, 238); /* oklch */ color: oklch(60.9% 0.181 270.0);
Tailwind
colors: {
custom: {
50: '#969df4',
500: '#5a77ee',
950: '#000000',
},
}SCSS
$custom: #5a77ee; $custom-light: #969df4; $custom-dark: #000000;
JSON
{
"hex": "#5a77ee",
"rgb": {
"r": 90,
"g": 119,
"b": 238
},
"hsl": {
"h": 228.243,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.60905,
"c": 0.18134,
"h": 270
},
"luminance": 0.2154
}Semantic roles & 50–950 ramp
primary
#5A77EE
secondary
#ECE2B8
accent
#B408DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85