#2870B1#2870B1
#2870B1 is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.124 H 249.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2870B1 |
|---|---|
| RGB | rgb(40, 112, 177) |
| HSL | hsl(208, 63%, 43%) |
| HSV | hsv(208, 77%, 69%) |
| CMYK | cmyk(77.4%, 36.7%, 0%, 30.6%) |
| CIE-LAB | lab(45.92, 0.88, -40.82) |
| CIE-LCH | lch(45.92, 40.83, 271.23°) |
| OKLab | oklab(53.31% -0.0434 -0.1163) |
| OKLCH | oklch(53.31% 0.124 249.5) |
| XYZ | xyz(14.6020, 15.2121, 43.7531) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.93
Flat Blue
#3C73A8
ΔE00 1.97
Bluish
#2976BB
ΔE00 2.39
Mid Blue
#276AB3
ΔE00 2.49
Muted Blue
#3B719F
ΔE00 2.50
Windows Blue
#3778BF
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2870B1 #B16928
analogous
#28B1AD #2870B1 #282BB1
triadic
#2870B1 #B12870 #70B128
tetradic
#2870B1 #AD28B1 #B16928 #2BB128
square
#2870B1 #AD28B1 #B16928 #2BB128
split-complementary
#2870B1 #B1282B #B1AD28
monochromatic
#11314D #1D507F #2870B1 #428FD4 #74ACE0
Accessibility & contrast
On white
5.19
#2870B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#2870B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2870B1
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2870B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2870B1 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2870b1; /* rgb */ color: rgb(40, 112, 177); /* oklch */ color: oklch(53.3% 0.124 249.5);
Tailwind
colors: {
custom: {
50: '#7698c8',
500: '#2870b1',
950: '#000000',
},
}SCSS
$custom: #2870b1; $custom-light: #7698c8; $custom-dark: #000000;
JSON
{
"hex": "#2870b1",
"rgb": {
"r": 40,
"g": 112,
"b": 177
},
"hsl": {
"h": 208.467,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.53314,
"c": 0.1241,
"h": 249.5
},
"luminance": 0.15214
}Semantic roles & 50–950 ramp
primary
#2870B1
secondary
#C7986E
accent
#9042E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82