#2870AB#2870AB
#2870AB is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.117 H 247.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2870AB |
|---|---|
| RGB | rgb(40, 112, 171) |
| HSL | hsl(207, 62%, 41%) |
| HSV | hsv(207, 77%, 67%) |
| CMYK | cmyk(76.6%, 34.5%, 0%, 32.9%) |
| CIE-LAB | lab(45.60, -1.37, -37.82) |
| CIE-LCH | lch(45.60, 37.85, 267.93°) |
| OKLab | oklab(52.96% -0.045 -0.1075) |
| OKLCH | oklch(52.96% 0.117 247.3) |
| XYZ | xyz(14.0171, 14.9781, 40.6725) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 2.05
Flat Blue
#3C73A8
ΔE00 2.11
Bluish
#2976BB
ΔE00 2.80
Medium Blue
#2C6FBB
ΔE00 2.85
Mid Blue
#276AB3
ΔE00 3.05
Dull Blue
#49759C
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2870AB #AB6328
analogous
#28ABA5 #2870AB #282FAB
triadic
#2870AB #AB2870 #70AB28
tetradic
#2870AB #A528AB #AB6328 #2FAB28
square
#2870AB #A528AB #AB6328 #2FAB28
split-complementary
#2870AB #AB282F #ABA528
monochromatic
#112F48 #1C5079 #2870AB #3E8FD2 #70ACDE
Accessibility & contrast
On white
5.26
#2870AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#2870AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2870AB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2870AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2870AB | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#4266AA
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2870ab; /* rgb */ color: rgb(40, 112, 171); /* oklch */ color: oklch(53.0% 0.117 247.3);
Tailwind
colors: {
custom: {
50: '#7598c4',
500: '#2870ab',
950: '#000000',
},
}SCSS
$custom: #2870ab; $custom-light: #7598c4; $custom-dark: #000000;
JSON
{
"hex": "#2870ab",
"rgb": {
"r": 40,
"g": 112,
"b": 171
},
"hsl": {
"h": 207.023,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.52959,
"c": 0.11655,
"h": 247.3
},
"luminance": 0.1498
}Semantic roles & 50–950 ramp
primary
#2870AB
secondary
#C4936A
accent
#8C43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81