#2C87A8#2C87A8
#2C87A8 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.097 H 226.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87A8 |
|---|---|
| RGB | rgb(44, 135, 168) |
| HSL | hsl(196, 58%, 42%) |
| HSV | hsv(196, 74%, 66%) |
| CMYK | cmyk(73.8%, 19.6%, 0%, 34.1%) |
| CIE-LAB | lab(52.61, -15.30, -25.13) |
| CIE-LCH | lch(52.61, 29.42, 238.67°) |
| OKLab | oklab(58.5% -0.0666 -0.0704) |
| OKLCH | oklch(58.5% 0.097 226.6) |
| XYZ | xyz(16.7677, 20.6886, 40.1478) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 2.60
Teal Blue
#01889F
ΔE00 4.99
Cerulean
#007BA7
ΔE00 5.57
Ocean
#017B92
ΔE00 6.66
Sea Blue
#047495
ΔE00 7.39
Stormy Blue
#507B9C
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87A8 #A84D2C
analogous
#2CA88B #2C87A8 #2C49A8
triadic
#2C87A8 #A82C87 #87A82C
tetradic
#2C87A8 #8B2CA8 #A84D2C #49A82C
square
#2C87A8 #8B2CA8 #A84D2C #49A82C
split-complementary
#2C87A8 #A82C49 #A88B2C
monochromatic
#133947 #1F6078 #2C87A8 #43A9CE #74BFDB
Accessibility & contrast
On white
4.09
#2C87A8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#2C87A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87A8
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87A8 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7584AA
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2c87a8; /* rgb */ color: rgb(44, 135, 168); /* oklch */ color: oklch(58.5% 0.097 226.6);
Tailwind
colors: {
custom: {
50: '#77aac2',
500: '#2c87a8',
950: '#000000',
},
}SCSS
$custom: #2c87a8; $custom-light: #77aac2; $custom-dark: #000000;
JSON
{
"hex": "#2c87a8",
"rgb": {
"r": 44,
"g": 135,
"b": 168
},
"hsl": {
"h": 195.968,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.58503,
"c": 0.09697,
"h": 226.6
},
"luminance": 0.20691
}Semantic roles & 50–950 ramp
primary
#2C87A8
secondary
#C2846E
accent
#7046E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81