#5877B5#5877B5
#5877B5 is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.103 H 263.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5877B5 |
|---|---|
| RGB | rgb(88, 119, 181) |
| HSL | hsl(220, 39%, 53%) |
| HSV | hsv(220, 51%, 71%) |
| CMYK | cmyk(51.4%, 34.3%, 0%, 29%) |
| CIE-LAB | lab(50.22, 6.71, -36.22) |
| CIE-LCH | lch(50.22, 36.84, 280.50°) |
| OKLab | oklab(57.3% -0.012 -0.1021) |
| OKLCH | oklch(57.3% 0.103 263.3) |
| XYZ | xyz(18.9590, 18.6032, 46.2988) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.76
French Blue
#436BAD
ΔE00 5.11
Windows Blue
#3778BF
ΔE00 5.54
Dull Blue
#49759C
ΔE00 5.76
Flat Blue
#3C73A8
ΔE00 5.92
Cadet Blue
#4E7496
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5877B5 #B59658
analogous
#58A5B5 #5877B5 #6758B5
triadic
#5877B5 #B55877 #77B558
tetradic
#5877B5 #B558A5 #B59658 #58B567
square
#5877B5 #B558A5 #B59658 #58B567
split-complementary
#5877B5 #B56758 #A5B558
monochromatic
#2D4066 #405B90 #5877B5 #829AC8 #ADBCDB
Accessibility & contrast
On white
4.45
#5877B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#5877B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5877B5
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5877B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5877B5 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#2D848E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5877b5; /* rgb */ color: rgb(88, 119, 181); /* oklch */ color: oklch(57.3% 0.103 263.3);
Tailwind
colors: {
custom: {
50: '#8d9ecb',
500: '#5877b5',
950: '#000000',
},
}SCSS
$custom: #5877b5; $custom-light: #8d9ecb; $custom-dark: #000000;
JSON
{
"hex": "#5877b5",
"rgb": {
"r": 88,
"g": 119,
"b": 181
},
"hsl": {
"h": 220,
"s": 38.589,
"l": 52.745
},
"oklch": {
"l": 0.57297,
"c": 0.10276,
"h": 263.3
},
"luminance": 0.18605
}Semantic roles & 50–950 ramp
primary
#5877B5
secondary
#C9BBA0
accent
#A759CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82