#5E77E7#5E77E7
#5E77E7 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.171 H 271.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5E77E7 |
|---|---|
| RGB | rgb(94, 119, 231) |
| HSL | hsl(229, 74%, 64%) |
| HSV | hsv(229, 59%, 91%) |
| CMYK | cmyk(59.3%, 48.5%, 0%, 9.4%) |
| CIE-LAB | lab(53.32, 24.24, -59.71) |
| CIE-LCH | lch(53.32, 64.44, 292.10°) |
| OKLab | oklab(60.66% 0.0031 -0.1707) |
| OKLCH | oklch(60.66% 0.171 271) |
| XYZ | xyz(25.6319, 21.3408, 78.3543) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.01
Cornflower Blue
#5170D7
ΔE00 3.69
Lightish Blue
#3D7AFD
ΔE00 4.41
Soft Blue
#6488EA
ΔE00 5.60
Royal Blue
#4169E1
ΔE00 5.70
Clear Blue
#247AFD
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E77E7 #E7CE5E
analogous
#5EBBE7 #5E77E7 #895EE7
triadic
#5E77E7 #E75E77 #77E75E
tetradic
#5E77E7 #E75EBB #E7CE5E #5EE789
square
#5E77E7 #E75EBB #E7CE5E #5EE789
split-complementary
#5E77E7 #E7895E #BBE75E
monochromatic
#1A36B0 #294ADF #5E77E7 #93A4EF #C9D1F7
Accessibility & contrast
On white
3.99
#5E77E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5E77E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E77E7
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E77E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E77E7 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E86EB
Deuteranopia (green-blind)
#247AE5
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5e77e7; /* rgb */ color: rgb(94, 119, 231); /* oklch */ color: oklch(60.7% 0.171 271.0);
Tailwind
colors: {
custom: {
50: '#979def',
500: '#5e77e7',
950: '#000000',
},
}SCSS
$custom: #5e77e7; $custom-light: #979def; $custom-dark: #000000;
JSON
{
"hex": "#5e77e7",
"rgb": {
"r": 94,
"g": 119,
"b": 231
},
"hsl": {
"h": 229.051,
"s": 74.054,
"l": 63.725
},
"oklch": {
"l": 0.60663,
"c": 0.17075,
"h": 271
},
"luminance": 0.21343
}Semantic roles & 50–950 ramp
primary
#5E77E7
secondary
#E9E0B8
accent
#B20FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84