#2872B1#2872B1
#2872B1 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 53.8% C 0.122 H 248.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2872B1 |
|---|---|
| RGB | rgb(40, 114, 177) |
| HSL | hsl(208, 63%, 43%) |
| HSV | hsv(208, 77%, 69%) |
| CMYK | cmyk(77.4%, 35.6%, 0%, 30.6%) |
| CIE-LAB | lab(46.52, -0.35, -39.87) |
| CIE-LCH | lch(46.52, 39.87, 269.50°) |
| OKLab | oklab(53.79% -0.0452 -0.1134) |
| OKLCH | oklch(53.79% 0.122 248.3) |
| XYZ | xyz(14.8252, 15.6583, 43.8275) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.82
Flat Blue
#3C73A8
ΔE00 1.86
Muted Blue
#3B719F
ΔE00 2.45
Medium Blue
#2C6FBB
ΔE00 2.50
Windows Blue
#3778BF
ΔE00 3.32
Mid Blue
#276AB3
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2872B1 #B16728
analogous
#28B1AB #2872B1 #282EB1
triadic
#2872B1 #B12872 #72B128
tetradic
#2872B1 #AB28B1 #B16728 #2EB128
square
#2872B1 #AB28B1 #B16728 #2EB128
split-complementary
#2872B1 #B1282E #B1AB28
monochromatic
#11324D #1D527F #2872B1 #4291D4 #74AEE0
Accessibility & contrast
On white
5.08
#2872B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#2872B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2872B1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2872B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2872B1 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5575B4
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#008189
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2872b1; /* rgb */ color: rgb(40, 114, 177); /* oklch */ color: oklch(53.8% 0.122 248.3);
Tailwind
colors: {
custom: {
50: '#769ac8',
500: '#2872b1',
950: '#000000',
},
}SCSS
$custom: #2872b1; $custom-light: #769ac8; $custom-dark: #000000;
JSON
{
"hex": "#2872b1",
"rgb": {
"r": 40,
"g": 114,
"b": 177
},
"hsl": {
"h": 207.591,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.53785,
"c": 0.12213,
"h": 248.3
},
"luminance": 0.1566
}Semantic roles & 50–950 ramp
primary
#2872B1
secondary
#C7976E
accent
#8D42E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82