#2C87AB#2C87AB
#2C87AB is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.099 H 228.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87AB |
|---|---|
| RGB | rgb(44, 135, 171) |
| HSL | hsl(197, 59%, 42%) |
| HSV | hsv(197, 74%, 67%) |
| CMYK | cmyk(74.3%, 21.1%, 0%, 32.9%) |
| CIE-LAB | lab(52.73, -14.27, -26.66) |
| CIE-LCH | lch(52.73, 30.24, 241.85°) |
| OKLab | oklab(58.64% -0.0655 -0.0748) |
| OKLCH | oklch(58.64% 0.099 228.8) |
| XYZ | xyz(17.0504, 20.8017, 41.6367) |
| Luminance | 0.2080 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.05
Cerulean
#007BA7
ΔE00 5.12
Teal Blue
#01889F
ΔE00 5.97
Nice Blue
#107AB0
ΔE00 6.90
Steel Blue
#4682B4
ΔE00 7.02
Stormy Blue
#507B9C
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87AB #AB502C
analogous
#2CAB90 #2C87AB #2C47AB
triadic
#2C87AB #AB2C87 #87AB2C
tetradic
#2C87AB #902CAB #AB502C #47AB2C
square
#2C87AB #902CAB #AB502C #47AB2C
split-complementary
#2C87AB #AB2C47 #AB902C
monochromatic
#133A4A #1F617A #2C87AB #45A8CF #76BFDC
Accessibility & contrast
On white
4.07
#2C87AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#2C87AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87AB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87AB | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485AD
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2c87ab; /* rgb */ color: rgb(44, 135, 171); /* oklch */ color: oklch(58.6% 0.099 228.8);
Tailwind
colors: {
custom: {
50: '#77aac4',
500: '#2c87ab',
950: '#000000',
},
}SCSS
$custom: #2c87ab; $custom-light: #77aac4; $custom-dark: #000000;
JSON
{
"hex": "#2c87ab",
"rgb": {
"r": 44,
"g": 135,
"b": 171
},
"hsl": {
"h": 197.008,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.58644,
"c": 0.09947,
"h": 228.8
},
"luminance": 0.20804
}Semantic roles & 50–950 ramp
primary
#2C87AB
secondary
#C3876F
accent
#7246E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81