#2877C5#2877C5
#2877C5 is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.2% C 0.142 H 251.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2877C5 |
|---|---|
| RGB | rgb(40, 119, 197) |
| HSL | hsl(210, 66%, 46%) |
| HSV | hsv(210, 80%, 77%) |
| CMYK | cmyk(79.7%, 39.6%, 0%, 22.7%) |
| CIE-LAB | lab(49.10, 4.10, -47.33) |
| CIE-LCH | lch(49.10, 47.51, 274.95°) |
| OKLab | oklab(56.16% -0.0445 -0.1352) |
| OKLCH | oklch(56.16% 0.142 251.8) |
| XYZ | xyz(17.5461, 17.6739, 55.2991) |
| Luminance | 0.1768 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.09
Bluish
#2976BB
ΔE00 1.31
Medium Blue
#2C6FBB
ΔE00 3.19
Flat Blue
#3C73A8
ΔE00 3.38
Muted Blue
#3B719F
ΔE00 4.71
Steel Blue
#4682B4
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2877C5 #C57628
analogous
#28C5C5 #2877C5 #2828C5
triadic
#2877C5 #C52877 #77C528
tetradic
#2877C5 #C528C5 #C57628 #28C528
square
#2877C5 #C528C5 #C57628 #28C528
split-complementary
#2877C5 #C52828 #C5C528
monochromatic
#133A5F #1E5892 #2877C5 #4F96DB #82B4E6
Accessibility & contrast
On white
4.63
#2877C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#2877C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2877C5
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2877C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2877C5 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517CC8
Deuteranopia (green-blind)
#386EC3
Tritanopia (blue-blind)
#008A94
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2877c5; /* rgb */ color: rgb(40, 119, 197); /* oklch */ color: oklch(56.2% 0.142 251.8);
Tailwind
colors: {
custom: {
50: '#7a9dd7',
500: '#2877c5',
950: '#000000',
},
}SCSS
$custom: #2877c5; $custom-light: #7a9dd7; $custom-dark: #000000;
JSON
{
"hex": "#2877c5",
"rgb": {
"r": 40,
"g": 119,
"b": 197
},
"hsl": {
"h": 209.809,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.56159,
"c": 0.14236,
"h": 251.8
},
"luminance": 0.17676
}Semantic roles & 50–950 ramp
primary
#2877C5
secondary
#CEA47A
accent
#933FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83