#5A77EF#5A77EF
#5A77EF is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.183 H 270.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5A77EF |
|---|---|
| RGB | rgb(90, 119, 239) |
| HSL | hsl(228, 82%, 65%) |
| HSV | hsv(228, 62%, 94%) |
| CMYK | cmyk(62.3%, 50.2%, 0%, 6.3%) |
| CIE-LAB | lab(53.60, 26.20, -63.74) |
| CIE-LCH | lch(53.60, 68.92, 292.34°) |
| OKLab | oklab(60.97% 0 -0.1827) |
| OKLCH | oklch(60.97% 0.183 270) |
| XYZ | xyz(26.3880, 21.5970, 84.4227) |
| Luminance | 0.2160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.80
Lightish Blue
#3D7AFD
ΔE00 3.64
Cornflower Blue
#5170D7
ΔE00 4.17
Clear Blue
#247AFD
ΔE00 5.29
Soft Blue
#6488EA
ΔE00 5.50
Dodger Blue
#3E82FC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A77EF #EFD25A
analogous
#5AC2EF #5A77EF #885AEF
triadic
#5A77EF #EF5A77 #77EF5A
tetradic
#5A77EF #EF5AC2 #EFD25A #5AEF88
square
#5A77EF #EF5AC2 #EFD25A #5AEF88
split-complementary
#5A77EF #EF885A #C2EF5A
monochromatic
#1233BC #2249EA #5A77EF #92A5F4 #CAD3FA
Accessibility & contrast
On white
3.95
#5A77EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#5A77EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A77EF
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A77EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A77EF | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5a77ef; /* rgb */ color: rgb(90, 119, 239); /* oklch */ color: oklch(61.0% 0.183 270.0);
Tailwind
colors: {
custom: {
50: '#969df5',
500: '#5a77ef',
950: '#000000',
},
}SCSS
$custom: #5a77ef; $custom-light: #969df5; $custom-dark: #000000;
JSON
{
"hex": "#5a77ef",
"rgb": {
"r": 90,
"g": 119,
"b": 239
},
"hsl": {
"h": 228.322,
"s": 82.32,
"l": 64.51
},
"oklch": {
"l": 0.60973,
"c": 0.18268,
"h": 270
},
"luminance": 0.21599
}Semantic roles & 50–950 ramp
primary
#5A77EF
secondary
#ECE2B9
accent
#B507DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85