#2872C5#2872C5
#2872C5 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.0% C 0.148 H 254.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2872C5 |
|---|---|
| RGB | rgb(40, 114, 197) |
| HSL | hsl(212, 66%, 46%) |
| HSV | hsv(212, 80%, 77%) |
| CMYK | cmyk(79.7%, 42.1%, 0%, 22.7%) |
| CIE-LAB | lab(47.64, 7.21, -49.65) |
| CIE-LCH | lch(47.64, 50.17, 278.26°) |
| OKLab | oklab(55.03% -0.0403 -0.1421) |
| OKLCH | oklch(55.03% 0.148 254.2) |
| XYZ | xyz(16.9667, 16.5149, 55.1060) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.48
Windows Blue
#3778BF
ΔE00 2.23
Bluish
#2976BB
ΔE00 2.35
Flat Blue
#3C73A8
ΔE00 3.06
Mid Blue
#276AB3
ΔE00 3.43
Muted Blue
#3B719F
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2872C5 #C57B28
analogous
#28C1C5 #2872C5 #2D28C5
triadic
#2872C5 #C52872 #72C528
tetradic
#2872C5 #C528C1 #C57B28 #28C52D
square
#2872C5 #C528C1 #C57B28 #28C52D
split-complementary
#2872C5 #C52D28 #C1C528
monochromatic
#13375F #1E5592 #2872C5 #4F91DB #82B1E6
Accessibility & contrast
On white
4.88
#2872C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#2872C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2872C5
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2872C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2872C5 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#2C6BC3
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2872c5; /* rgb */ color: rgb(40, 114, 197); /* oklch */ color: oklch(55.0% 0.148 254.2);
Tailwind
colors: {
custom: {
50: '#7a9ad7',
500: '#2872c5',
950: '#000000',
},
}SCSS
$custom: #2872c5; $custom-light: #7a9ad7; $custom-dark: #000000;
JSON
{
"hex": "#2872c5",
"rgb": {
"r": 40,
"g": 114,
"b": 197
},
"hsl": {
"h": 211.72,
"s": 66.245,
"l": 46.471
},
"oklch": {
"l": 0.55025,
"c": 0.14775,
"h": 254.2
},
"luminance": 0.16517
}Semantic roles & 50–950 ramp
primary
#2872C5
secondary
#CEA77A
accent
#993FE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83