#2C87A6#2C87A6
#2C87A6 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.4% C 0.095 H 225.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87A6 |
|---|---|
| RGB | rgb(44, 135, 166) |
| HSL | hsl(195, 58%, 41%) |
| HSV | hsv(195, 73%, 65%) |
| CMYK | cmyk(73.5%, 18.7%, 0%, 34.9%) |
| CIE-LAB | lab(52.53, -15.98, -24.10) |
| CIE-LCH | lch(52.53, 28.92, 236.46°) |
| OKLab | oklab(58.41% -0.0674 -0.0675) |
| OKLCH | oklch(58.41% 0.095 225) |
| XYZ | xyz(16.5828, 20.6147, 39.1741) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 2.49
Teal Blue
#01889F
ΔE00 4.33
Cerulean
#007BA7
ΔE00 5.97
Ocean
#017B92
ΔE00 6.20
Sea Blue
#047495
ΔE00 7.37
Stormy Blue
#507B9C
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87A6 #A64B2C
analogous
#2CA688 #2C87A6 #2C4AA6
triadic
#2C87A6 #A62C87 #87A62C
tetradic
#2C87A6 #882CA6 #A64B2C #4AA62C
square
#2C87A6 #882CA6 #A64B2C #4AA62C
split-complementary
#2C87A6 #A62C4A #A6882C
monochromatic
#123845 #1F6076 #2C87A6 #42AACD #73C0DA
Accessibility & contrast
On white
4.10
#2C87A6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#2C87A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87A6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87A6 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7684A8
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2c87a6; /* rgb */ color: rgb(44, 135, 166); /* oklch */ color: oklch(58.4% 0.095 225.0);
Tailwind
colors: {
custom: {
50: '#76aac0',
500: '#2c87a6',
950: '#000000',
},
}SCSS
$custom: #2c87a6; $custom-light: #76aac0; $custom-dark: #000000;
JSON
{
"hex": "#2c87a6",
"rgb": {
"r": 44,
"g": 135,
"b": 166
},
"hsl": {
"h": 195.246,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.58411,
"c": 0.0954,
"h": 225
},
"luminance": 0.20617
}Semantic roles & 50–950 ramp
primary
#2C87A6
secondary
#C1826D
accent
#6E46E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81