#5F77E8#5F77E8
#5F77E8 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.172 H 271.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77E8 |
|---|---|
| RGB | rgb(95, 119, 232) |
| HSL | hsl(229, 75%, 64%) |
| HSV | hsv(229, 59%, 91%) |
| CMYK | cmyk(59.1%, 48.7%, 0%, 9%) |
| CIE-LAB | lab(53.44, 24.75, -60.07) |
| CIE-LCH | lch(53.44, 64.97, 292.40°) |
| OKLab | oklab(60.79% 0.0042 -0.1718) |
| OKLCH | oklch(60.79% 0.172 271.4) |
| XYZ | xyz(25.8768, 21.4507, 79.1050) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.79
Cornflower Blue
#5170D7
ΔE00 3.86
Lightish Blue
#3D7AFD
ΔE00 4.51
Soft Blue
#6488EA
ΔE00 5.62
Royal Blue
#4169E1
ΔE00 5.83
Clear Blue
#247AFD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77E8 #E8D05F
analogous
#5FBCE8 #5F77E8 #8C5FE8
triadic
#5F77E8 #E85F77 #77E85F
tetradic
#5F77E8 #E85FBC #E8D05F #5FE88C
square
#5F77E8 #E85FBC #E8D05F #5FE88C
split-complementary
#5F77E8 #E88C5F #BCE85F
monochromatic
#1A35B3 #294AE0 #5F77E8 #95A4F0 #CAD2F7
Accessibility & contrast
On white
3.97
#5F77E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#5F77E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77E8
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77E8 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D86EC
Deuteranopia (green-blind)
#237AE6
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5f77e8; /* rgb */ color: rgb(95, 119, 232); /* oklch */ color: oklch(60.8% 0.172 271.4);
Tailwind
colors: {
custom: {
50: '#979df0',
500: '#5f77e8',
950: '#000000',
},
}SCSS
$custom: #5f77e8; $custom-light: #979df0; $custom-dark: #000000;
JSON
{
"hex": "#5f77e8",
"rgb": {
"r": 95,
"g": 119,
"b": 232
},
"hsl": {
"h": 229.489,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.60788,
"c": 0.17183,
"h": 271.4
},
"luminance": 0.21453
}Semantic roles & 50–950 ramp
primary
#5F77E8
secondary
#E9E1BA
accent
#B40ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85