#2872AA#2872AA
#2872AA is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.4% C 0.114 H 245.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2872AA |
|---|---|
| RGB | rgb(40, 114, 170) |
| HSL | hsl(206, 62%, 41%) |
| HSV | hsv(206, 76%, 67%) |
| CMYK | cmyk(76.5%, 32.9%, 0%, 33.3%) |
| CIE-LAB | lab(46.16, -2.96, -36.36) |
| CIE-LCH | lch(46.16, 36.48, 265.35°) |
| OKLab | oklab(53.38% -0.0472 -0.1032) |
| OKLCH | oklch(53.38% 0.114 245.4) |
| XYZ | xyz(14.1453, 15.3864, 40.2468) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 2.06
Flat Blue
#3C73A8
ΔE00 2.26
Bluish
#2976BB
ΔE00 2.68
Medium Blue
#2C6FBB
ΔE00 3.58
Nice Blue
#107AB0
ΔE00 3.90
Dull Blue
#49759C
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2872AA #AA6028
analogous
#28AAA1 #2872AA #2831AA
triadic
#2872AA #AA2872 #72AA28
tetradic
#2872AA #A128AA #AA6028 #31AA28
square
#2872AA #A128AA #AA6028 #31AA28
split-complementary
#2872AA #AA2831 #AAA128
monochromatic
#113047 #1C5178 #2872AA #3E92D2 #6FAEDD
Accessibility & contrast
On white
5.15
#2872AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2872AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2872AA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2872AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2872AA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5874AC
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#008086
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2872aa; /* rgb */ color: rgb(40, 114, 170); /* oklch */ color: oklch(53.4% 0.114 245.4);
Tailwind
colors: {
custom: {
50: '#759ac3',
500: '#2872aa',
950: '#000000',
},
}SCSS
$custom: #2872aa; $custom-light: #759ac3; $custom-dark: #000000;
JSON
{
"hex": "#2872aa",
"rgb": {
"r": 40,
"g": 114,
"b": 170
},
"hsl": {
"h": 205.846,
"s": 61.905,
"l": 41.176
},
"oklch": {
"l": 0.53379,
"c": 0.1135,
"h": 245.4
},
"luminance": 0.15388
}Semantic roles & 50–950 ramp
primary
#2872AA
secondary
#C4916A
accent
#8943E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81