#2870AC#2870AC
#2870AC is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.118 H 247.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2870AC |
|---|---|
| RGB | rgb(40, 112, 172) |
| HSL | hsl(207, 62%, 42%) |
| HSV | hsv(207, 77%, 67%) |
| CMYK | cmyk(76.7%, 34.9%, 0%, 32.5%) |
| CIE-LAB | lab(45.66, -1.00, -38.33) |
| CIE-LCH | lch(45.66, 38.34, 268.51°) |
| OKLab | oklab(53.02% -0.0448 -0.109) |
| OKLCH | oklch(53.02% 0.118 247.7) |
| XYZ | xyz(14.1128, 15.0164, 41.1764) |
| Luminance | 0.1502 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 2.06
Muted Blue
#3B719F
ΔE00 2.11
Medium Blue
#2C6FBB
ΔE00 2.69
Bluish
#2976BB
ΔE00 2.71
Mid Blue
#276AB3
ΔE00 2.94
Windows Blue
#3778BF
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2870AC #AC6428
analogous
#28ACA6 #2870AC #282EAC
triadic
#2870AC #AC2870 #70AC28
tetradic
#2870AC #A628AC #AC6428 #2EAC28
square
#2870AC #A628AC #AC6428 #2EAC28
split-complementary
#2870AC #AC282E #ACA628
monochromatic
#112F49 #1C507A #2870AC #3F8FD2 #71ACDE
Accessibility & contrast
On white
5.25
#2870AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#2870AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2870AC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2870AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2870AC | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5473AF
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2870ac; /* rgb */ color: rgb(40, 112, 172); /* oklch */ color: oklch(53.0% 0.118 247.7);
Tailwind
colors: {
custom: {
50: '#7598c5',
500: '#2870ac',
950: '#000000',
},
}SCSS
$custom: #2870ac; $custom-light: #7598c5; $custom-dark: #000000;
JSON
{
"hex": "#2870ac",
"rgb": {
"r": 40,
"g": 112,
"b": 172
},
"hsl": {
"h": 207.273,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.53018,
"c": 0.1178,
"h": 247.7
},
"luminance": 0.15018
}Semantic roles & 50–950 ramp
primary
#2870AC
secondary
#C5946B
accent
#8C42E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82