#5F77CA#5F77CA
#5F77CA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.130 H 269.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5F77CA |
|---|---|
| RGB | rgb(95, 119, 202) |
| HSL | hsl(227, 50%, 58%) |
| HSV | hsv(227, 53%, 79%) |
| CMYK | cmyk(53%, 41.1%, 0%, 20.8%) |
| CIE-LAB | lab(51.71, 15.01, -45.89) |
| CIE-LCH | lch(51.71, 48.28, 288.11°) |
| OKLab | oklab(58.91% -0.0002 -0.1301) |
| OKLCH | oklch(58.91% 0.13 269.9) |
| XYZ | xyz(21.9733, 19.8893, 58.5468) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.25
Royal Blue
#4169E1
ΔE00 6.03
Cornflower
#6A79F7
ΔE00 6.36
Lightish Blue
#3D7AFD
ΔE00 6.76
Soft Blue
#6488EA
ΔE00 6.92
French Blue
#436BAD
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F77CA #CAB25F
analogous
#5FACCA #5F77CA #7C5FCA
triadic
#5F77CA #CA5F77 #77CA5F
tetradic
#5F77CA #CA5FAC #CAB25F #5FCA7C
square
#5F77CA #CA5FAC #CAB25F #5FCA7C
split-complementary
#5F77CA #CA7C5F #ACCA5F
monochromatic
#2B3F83 #3B55B1 #5F77CA #8D9ED9 #BBC5E8
Accessibility & contrast
On white
4.22
#5F77CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#5F77CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F77CA
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F77CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F77CA | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#2B8997
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f77ca; /* rgb */ color: rgb(95, 119, 202); /* oklch */ color: oklch(58.9% 0.130 269.9);
Tailwind
colors: {
custom: {
50: '#939dda',
500: '#5f77ca',
950: '#000000',
},
}SCSS
$custom: #5f77ca; $custom-light: #939dda; $custom-dark: #000000;
JSON
{
"hex": "#5f77ca",
"rgb": {
"r": 95,
"g": 119,
"b": 202
},
"hsl": {
"h": 226.542,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.58911,
"c": 0.13014,
"h": 269.9
},
"luminance": 0.19891
}Semantic roles & 50–950 ramp
primary
#5F77CA
secondary
#D8CEAD
accent
#BA4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83