#5C77E4#5C77E4
#5C77E4 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.167 H 270.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5C77E4 |
|---|---|
| RGB | rgb(92, 119, 228) |
| HSL | hsl(228, 72%, 63%) |
| HSV | hsv(228, 60%, 89%) |
| CMYK | cmyk(59.6%, 47.8%, 0%, 10.6%) |
| CIE-LAB | lab(53.02, 22.88, -58.51) |
| CIE-LCH | lch(53.02, 62.82, 291.36°) |
| OKLab | oklab(60.35% 0.0008 -0.1672) |
| OKLCH | oklch(60.35% 0.167 270.3) |
| XYZ | xyz(25.0094, 21.0684, 76.1324) |
| Luminance | 0.2107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.29
Cornflower
#6A79F7
ΔE00 3.56
Lightish Blue
#3D7AFD
ΔE00 4.30
Royal Blue
#4169E1
ΔE00 5.44
Soft Blue
#6488EA
ΔE00 5.60
Clear Blue
#247AFD
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C77E4 #E4C95C
analogous
#5CBBE4 #5C77E4 #855CE4
triadic
#5C77E4 #E45C77 #77E45C
tetradic
#5C77E4 #E45CBB #E4C95C #5CE485
square
#5C77E4 #E45CBB #E4C95C #5CE485
split-complementary
#5C77E4 #E4855C #BBE45C
monochromatic
#1C38AA #274BDB #5C77E4 #91A3ED #C5CFF5
Accessibility & contrast
On white
4.03
#5C77E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#5C77E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5C77E4
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C77E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5C77E4 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4085E8
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5c77e4; /* rgb */ color: rgb(92, 119, 228); /* oklch */ color: oklch(60.3% 0.167 270.3);
Tailwind
colors: {
custom: {
50: '#959ded',
500: '#5c77e4',
950: '#000000',
},
}SCSS
$custom: #5c77e4; $custom-light: #959ded; $custom-dark: #000000;
JSON
{
"hex": "#5c77e4",
"rgb": {
"r": 92,
"g": 119,
"b": 228
},
"hsl": {
"h": 228.088,
"s": 71.579,
"l": 62.745
},
"oklch": {
"l": 0.60349,
"c": 0.16724,
"h": 270.3
},
"luminance": 0.2107
}Semantic roles & 50–950 ramp
primary
#5C77E4
secondary
#E7DDB5
accent
#AD12D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84