#2871AA#2871AA
#2871AA is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.1% C 0.114 H 246.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2871AA |
|---|---|
| RGB | rgb(40, 113, 170) |
| HSL | hsl(206, 62%, 41%) |
| HSV | hsv(206, 76%, 67%) |
| CMYK | cmyk(76.5%, 33.5%, 0%, 33.3%) |
| CIE-LAB | lab(45.86, -2.35, -36.84) |
| CIE-LCH | lch(45.86, 36.92, 266.35°) |
| OKLab | oklab(53.14% -0.0463 -0.1046) |
| OKLCH | oklch(53.14% 0.114 246.1) |
| XYZ | xyz(14.0331, 15.1620, 40.2094) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.98
Flat Blue
#3C73A8
ΔE00 2.17
Bluish
#2976BB
ΔE00 2.76
Medium Blue
#2C6FBB
ΔE00 3.28
Mid Blue
#276AB3
ΔE00 3.59
Dull Blue
#49759C
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2871AA #AA6128
analogous
#28AAA2 #2871AA #2830AA
triadic
#2871AA #AA2871 #71AA28
tetradic
#2871AA #A228AA #AA6128 #30AA28
square
#2871AA #A228AA #AA6128 #30AA28
split-complementary
#2871AA #AA2830 #AAA228
monochromatic
#112F47 #1C5078 #2871AA #3E91D2 #6FADDD
Accessibility & contrast
On white
5.21
#2871AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2871AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2871AA
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2871AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2871AA | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2871aa; /* rgb */ color: rgb(40, 113, 170); /* oklch */ color: oklch(53.1% 0.114 246.1);
Tailwind
colors: {
custom: {
50: '#7599c3',
500: '#2871aa',
950: '#000000',
},
}SCSS
$custom: #2871aa; $custom-light: #7599c3; $custom-dark: #000000;
JSON
{
"hex": "#2871aa",
"rgb": {
"r": 40,
"g": 113,
"b": 170
},
"hsl": {
"h": 206.308,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.5314,
"c": 0.11439,
"h": 246.1
},
"luminance": 0.15164
}Semantic roles & 50–950 ramp
primary
#2871AA
secondary
#C4916A
accent
#8A43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81