#2C87B1#2C87B1
#2C87B1 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.105 H 232.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87B1 |
|---|---|
| RGB | rgb(44, 135, 177) |
| HSL | hsl(199, 60%, 43%) |
| HSV | hsv(199, 75%, 69%) |
| CMYK | cmyk(75.1%, 23.7%, 0%, 30.6%) |
| CIE-LAB | lab(52.99, -12.19, -29.72) |
| CIE-LCH | lch(52.99, 32.12, 247.70°) |
| OKLab | oklab(58.93% -0.0633 -0.0836) |
| OKLCH | oklch(58.93% 0.105 232.9) |
| XYZ | xyz(17.6353, 21.0357, 44.7173) |
| Luminance | 0.2104 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.43
Cerulean
#007BA7
ΔE00 4.82
Steel Blue
#4682B4
ΔE00 5.47
Water Blue
#0E87CC
ΔE00 5.53
Nice Blue
#107AB0
ΔE00 5.69
Cool Blue
#4984B8
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87B1 #B1562C
analogous
#2CB198 #2C87B1 #2C45B1
triadic
#2C87B1 #B12C87 #87B12C
tetradic
#2C87B1 #982CB1 #B1562C #45B12C
square
#2C87B1 #982CB1 #B1562C #45B12C
split-complementary
#2C87B1 #B12C45 #B1982C
monochromatic
#143C4F #206280 #2C87B1 #49A6D2 #7ABEDE
Accessibility & contrast
On white
4.03
#2C87B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#2C87B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87B1
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87B1 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7286B3
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2c87b1; /* rgb */ color: rgb(44, 135, 177); /* oklch */ color: oklch(58.9% 0.105 232.9);
Tailwind
colors: {
custom: {
50: '#78aac8',
500: '#2c87b1',
950: '#000000',
},
}SCSS
$custom: #2c87b1; $custom-light: #78aac8; $custom-dark: #000000;
JSON
{
"hex": "#2c87b1",
"rgb": {
"r": 44,
"g": 135,
"b": 177
},
"hsl": {
"h": 198.947,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.58934,
"c": 0.1049,
"h": 232.9
},
"luminance": 0.21038
}Semantic roles & 50–950 ramp
primary
#2C87B1
secondary
#C68D73
accent
#7744E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82