#2C87A4#2C87A4
#2C87A4 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.094 H 223.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87A4 |
|---|---|
| RGB | rgb(44, 135, 164) |
| HSL | hsl(195, 58%, 41%) |
| HSV | hsv(195, 73%, 64%) |
| CMYK | cmyk(73.2%, 17.7%, 0%, 35.7%) |
| CIE-LAB | lab(52.44, -16.66, -23.07) |
| CIE-LCH | lch(52.44, 28.45, 234.17°) |
| OKLab | oklab(58.32% -0.0682 -0.0645) |
| OKLCH | oklch(58.32% 0.094 223.4) |
| XYZ | xyz(16.4008, 20.5419, 38.2154) |
| Luminance | 0.2054 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 2.59
Teal Blue
#01889F
ΔE00 3.67
Ocean
#017B92
ΔE00 5.78
Cerulean
#007BA7
ΔE00 6.44
Sea Blue
#047495
ΔE00 7.42
Stormy Blue
#507B9C
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87A4 #A4492C
analogous
#2CA485 #2C87A4 #2C4BA4
triadic
#2C87A4 #A42C87 #87A42C
tetradic
#2C87A4 #852CA4 #A4492C #4BA42C
square
#2C87A4 #852CA4 #A4492C #4BA42C
split-complementary
#2C87A4 #A42C4B #A4852C
monochromatic
#123843 #1F5F74 #2C87A4 #41AACC #71C0D9
Accessibility & contrast
On white
4.11
#2C87A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#2C87A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87A4
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87A4 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7684A5
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2c87a4; /* rgb */ color: rgb(44, 135, 164); /* oklch */ color: oklch(58.3% 0.094 223.4);
Tailwind
colors: {
custom: {
50: '#76aabf',
500: '#2c87a4',
950: '#000000',
},
}SCSS
$custom: #2c87a4; $custom-light: #76aabf; $custom-dark: #000000;
JSON
{
"hex": "#2c87a4",
"rgb": {
"r": 44,
"g": 135,
"b": 164
},
"hsl": {
"h": 194.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.58319,
"c": 0.0939,
"h": 223.4
},
"luminance": 0.20544
}Semantic roles & 50–950 ramp
primary
#2C87A4
secondary
#C0806B
accent
#6C47E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81