#2C87C2#2C87C2
#2C87C2 is a mid, vivid cyan. Relative luminance 0.218; OKLCH L 59.8% C 0.123 H 242.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87C2 |
|---|---|
| RGB | rgb(44, 135, 194) |
| HSL | hsl(204, 63%, 47%) |
| HSV | hsv(204, 77%, 76%) |
| CMYK | cmyk(77.3%, 30.4%, 0%, 23.9%) |
| CIE-LAB | lab(53.77, -6.15, -38.22) |
| CIE-LCH | lch(53.77, 38.71, 260.87°) |
| OKLab | oklab(59.81% -0.0576 -0.1083) |
| OKLCH | oklch(59.81% 0.123 242) |
| XYZ | xyz(19.4365, 21.7561, 54.2035) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 1.33
Cerulean (survey)
#0485D1
ΔE00 2.19
Steel Blue
#4682B4
ΔE00 3.26
Cool Blue
#4984B8
ΔE00 3.26
Off Blue
#5684AE
ΔE00 4.99
Dusty Blue
#5A86AD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87C2 #C2672C
analogous
#2CC2B2 #2C87C2 #2C3CC2
triadic
#2C87C2 #C22C87 #87C22C
tetradic
#2C87C2 #B22CC2 #C2672C #3CC22C
square
#2C87C2 #B22CC2 #C2672C #3CC22C
split-complementary
#2C87C2 #C22C3C #C2B22C
monochromatic
#15425E #216490 #2C87C2 #53A4D8 #85BEE3
Accessibility & contrast
On white
3.92
#2C87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#2C87C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87C2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87C2 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B88C5
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#00969C
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #2c87c2; /* rgb */ color: rgb(44, 135, 194); /* oklch */ color: oklch(59.8% 0.123 242.0);
Tailwind
colors: {
custom: {
50: '#7ba9d4',
500: '#2c87c2',
950: '#000000',
},
}SCSS
$custom: #2c87c2; $custom-light: #7ba9d4; $custom-dark: #000000;
JSON
{
"hex": "#2c87c2",
"rgb": {
"r": 44,
"g": 135,
"b": 194
},
"hsl": {
"h": 203.6,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.59809,
"c": 0.12267,
"h": 242
},
"luminance": 0.21758
}Semantic roles & 50–950 ramp
primary
#2C87C2
secondary
#CD9C7D
accent
#8242E6
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83