#2872BC#2872BC
#2872BC is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.136 H 251.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2872BC |
|---|---|
| RGB | rgb(40, 114, 188) |
| HSL | hsl(210, 65%, 45%) |
| HSV | hsv(210, 79%, 74%) |
| CMYK | cmyk(78.7%, 39.4%, 0%, 26.3%) |
| CIE-LAB | lab(47.12, 3.79, -45.30) |
| CIE-LCH | lch(47.12, 45.45, 274.79°) |
| OKLab | oklab(54.45% -0.0424 -0.1293) |
| OKLCH | oklch(54.45% 0.136 251.9) |
| XYZ | xyz(15.9661, 16.1147, 49.8362) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.37
Bluish
#2976BB
ΔE00 1.65
Flat Blue
#3C73A8
ΔE00 2.29
Windows Blue
#3778BF
ΔE00 2.40
Mid Blue
#276AB3
ΔE00 3.04
Muted Blue
#3B719F
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2872BC #BC7228
analogous
#28BCBC #2872BC #2828BC
triadic
#2872BC #BC2872 #72BC28
tetradic
#2872BC #BC28BC #BC7228 #28BC28
square
#2872BC #BC28BC #BC7228 #28BC28
split-complementary
#2872BC #BC2828 #BCBC28
monochromatic
#133557 #1D538A #2872BC #4991D8 #7BAFE3
Accessibility & contrast
On white
4.97
#2872BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#2872BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2872BC
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2872BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2872BC | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2872bc; /* rgb */ color: rgb(40, 114, 188); /* oklch */ color: oklch(54.5% 0.136 251.9);
Tailwind
colors: {
custom: {
50: '#789ad0',
500: '#2872bc',
950: '#000000',
},
}SCSS
$custom: #2872bc; $custom-light: #789ad0; $custom-dark: #000000;
JSON
{
"hex": "#2872bc",
"rgb": {
"r": 40,
"g": 114,
"b": 188
},
"hsl": {
"h": 210,
"s": 64.912,
"l": 44.706
},
"oklch": {
"l": 0.54452,
"c": 0.13611,
"h": 251.9
},
"luminance": 0.16117
}Semantic roles & 50–950 ramp
primary
#2872BC
secondary
#CBA075
accent
#9440E8
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82