#2C87B8#2C87B8
#2C87B8 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.3% C 0.112 H 237.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87B8 |
|---|---|
| RGB | rgb(44, 135, 184) |
| HSL | hsl(201, 61%, 45%) |
| HSV | hsv(201, 76%, 72%) |
| CMYK | cmyk(76.1%, 26.6%, 0%, 27.8%) |
| CIE-LAB | lab(53.30, -9.72, -33.24) |
| CIE-LCH | lch(53.30, 34.64, 253.70°) |
| OKLab | oklab(59.29% -0.0609 -0.0938) |
| OKLCH | oklch(59.29% 0.112 237) |
| XYZ | xyz(18.3510, 21.3219, 48.4865) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.45
Steel Blue
#4682B4
ΔE00 4.14
Cool Blue
#4984B8
ΔE00 4.47
Cerulean (survey)
#0485D1
ΔE00 4.49
Nice Blue
#107AB0
ΔE00 5.04
Cerulean
#007BA7
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87B8 #B85D2C
analogous
#2CB8A3 #2C87B8 #2C41B8
triadic
#2C87B8 #B82C87 #87B82C
tetradic
#2C87B8 #A32CB8 #B85D2C #41B82C
square
#2C87B8 #A32CB8 #B85D2C #41B82C
split-complementary
#2C87B8 #B82C41 #B8A32C
monochromatic
#143F55 #206387 #2C87B8 #4DA5D4 #7EBEE0
Accessibility & contrast
On white
3.99
#2C87B8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#2C87B8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87B8
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87B8 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7087BA
Deuteranopia (green-blind)
#5D79B7
Tritanopia (blue-blind)
#009498
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2c87b8; /* rgb */ color: rgb(44, 135, 184); /* oklch */ color: oklch(59.3% 0.112 237.0);
Tailwind
colors: {
custom: {
50: '#79a9cd',
500: '#2c87b8',
950: '#000000',
},
}SCSS
$custom: #2c87b8; $custom-light: #79a9cd; $custom-dark: #000000;
JSON
{
"hex": "#2c87b8",
"rgb": {
"r": 44,
"g": 135,
"b": 184
},
"hsl": {
"h": 201,
"s": 61.404,
"l": 44.706
},
"oklch": {
"l": 0.59285,
"c": 0.11186,
"h": 237
},
"luminance": 0.21324
}Semantic roles & 50–950 ramp
primary
#2C87B8
secondary
#C99477
accent
#7C43E5
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82