#5F77CD#5F77CD
#5F77CD is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.1% C 0.134 H 270.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77CD |
|---|---|
| RGB | rgb(95, 119, 205) |
| HSL | hsl(227, 52%, 59%) |
| HSV | hsv(227, 54%, 80%) |
| CMYK | cmyk(53.7%, 42%, 0%, 19.6%) |
| CIE-LAB | lab(51.87, 15.97, -47.34) |
| CIE-LCH | lch(51.87, 49.96, 288.64°) |
| OKLab | oklab(59.09% 0.0003 -0.1344) |
| OKLCH | oklch(59.09% 0.134 270.1) |
| XYZ | xyz(22.3320, 20.0328, 60.4357) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.09
Royal Blue
#4169E1
ΔE00 5.88
Cornflower
#6A79F7
ΔE00 5.98
Lightish Blue
#3D7AFD
ΔE00 6.47
Soft Blue
#6488EA
ΔE00 6.70
Deep Sky Blue
#0D75F8
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77CD #CDB55F
analogous
#5FAECD #5F77CD #7E5FCD
triadic
#5F77CD #CD5F77 #77CD5F
tetradic
#5F77CD #CD5FAE #CDB55F #5FCD7E
square
#5F77CD #CD5FAE #CDB55F #5FCD7E
split-complementary
#5F77CD #CD7E5F #AECD5F
monochromatic
#2A3F87 #3954B6 #5F77CD #8E9FDC #BCC6EA
Accessibility & contrast
On white
4.19
#5F77CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#5F77CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77CD
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77CD | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#278A98
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f77cd; /* rgb */ color: rgb(95, 119, 205); /* oklch */ color: oklch(59.1% 0.134 270.1);
Tailwind
colors: {
custom: {
50: '#949ddd',
500: '#5f77cd',
950: '#000000',
},
}SCSS
$custom: #5f77cd; $custom-light: #949ddd; $custom-dark: #000000;
JSON
{
"hex": "#5f77cd",
"rgb": {
"r": 95,
"g": 119,
"b": 205
},
"hsl": {
"h": 226.909,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.59089,
"c": 0.13439,
"h": 270.1
},
"luminance": 0.20034
}Semantic roles & 50–950 ramp
primary
#5F77CD
secondary
#DAD0AE
accent
#BC4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83