#5771BF#5771BF
#5771BF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.125 H 268.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5771BF |
|---|---|
| RGB | rgb(87, 113, 191) |
| HSL | hsl(225, 45%, 55%) |
| HSV | hsv(225, 54%, 75%) |
| CMYK | cmyk(54.5%, 40.8%, 0%, 25.1%) |
| CIE-LAB | lab(49.00, 13.38, -43.92) |
| CIE-LCH | lch(49.00, 45.91, 286.94°) |
| OKLab | oklab(56.51% -0.0036 -0.1246) |
| OKLCH | oklch(56.51% 0.125 268.3) |
| XYZ | xyz(19.2365, 17.5967, 51.6629) |
| Luminance | 0.1760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.15
French Blue
#436BAD
ΔE00 4.68
Royal Blue
#4169E1
ΔE00 5.16
Cadet Blue
#4E7496
ΔE00 6.71
Dull Blue
#49759C
ΔE00 6.79
Medium Blue
#2C6FBB
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5771BF #BFA557
analogous
#57A5BF #5771BF #7157BF
triadic
#5771BF #BF5771 #71BF57
tetradic
#5771BF #BF57A5 #BFA557 #57BF71
square
#5771BF #BF57A5 #BFA557 #57BF71
split-complementary
#5771BF #BF7157 #A5BF57
monochromatic
#2B3C71 #3C549D #5771BF #8396D0 #B0BCE1
Accessibility & contrast
On white
4.65
#5771BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#5771BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #5771BF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5771BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5771BF | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#1F828F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5771bf; /* rgb */ color: rgb(87, 113, 191); /* oklch */ color: oklch(56.5% 0.125 268.3);
Tailwind
colors: {
custom: {
50: '#8d99d3',
500: '#5771bf',
950: '#000000',
},
}SCSS
$custom: #5771bf; $custom-light: #8d99d3; $custom-dark: #000000;
JSON
{
"hex": "#5771bf",
"rgb": {
"r": 87,
"g": 113,
"b": 191
},
"hsl": {
"h": 225,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.56509,
"c": 0.12463,
"h": 268.3
},
"luminance": 0.17598
}Semantic roles & 50–950 ramp
primary
#5771BF
secondary
#CFC4A3
accent
#B453D5
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83