#2872AB#2872AB
#2872AB is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.4% C 0.115 H 245.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2872AB |
|---|---|
| RGB | rgb(40, 114, 171) |
| HSL | hsl(206, 62%, 41%) |
| HSV | hsv(206, 77%, 67%) |
| CMYK | cmyk(76.6%, 33.3%, 0%, 32.9%) |
| CIE-LAB | lab(46.21, -2.59, -36.87) |
| CIE-LCH | lch(46.21, 36.96, 265.99°) |
| OKLab | oklab(53.44% -0.0469 -0.1047) |
| OKLCH | oklch(53.44% 0.115 245.8) |
| XYZ | xyz(14.2402, 15.4244, 40.7469) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 2.09
Flat Blue
#3C73A8
ΔE00 2.16
Bluish
#2976BB
ΔE00 2.53
Medium Blue
#2C6FBB
ΔE00 3.41
Mid Blue
#276AB3
ΔE00 3.89
Dull Blue
#49759C
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2872AB #AB6128
analogous
#28ABA3 #2872AB #2831AB
triadic
#2872AB #AB2872 #72AB28
tetradic
#2872AB #A328AB #AB6128 #31AB28
square
#2872AB #A328AB #AB6128 #31AB28
split-complementary
#2872AB #AB2831 #ABA328
monochromatic
#113048 #1C5179 #2872AB #3E92D2 #70AEDE
Accessibility & contrast
On white
5.14
#2872AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#2872AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2872AB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2872AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2872AB | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#008086
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2872ab; /* rgb */ color: rgb(40, 114, 171); /* oklch */ color: oklch(53.4% 0.115 245.8);
Tailwind
colors: {
custom: {
50: '#759ac4',
500: '#2872ab',
950: '#000000',
},
}SCSS
$custom: #2872ab; $custom-light: #759ac4; $custom-dark: #000000;
JSON
{
"hex": "#2872ab",
"rgb": {
"r": 40,
"g": 114,
"b": 171
},
"hsl": {
"h": 206.107,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.53436,
"c": 0.11472,
"h": 245.8
},
"luminance": 0.15426
}Semantic roles & 50–950 ramp
primary
#2872AB
secondary
#C4926A
accent
#8943E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81