#2C87B7#2C87B7
#2C87B7 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.111 H 236.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87B7 |
|---|---|
| RGB | rgb(44, 135, 183) |
| HSL | hsl(201, 61%, 45%) |
| HSV | hsv(201, 76%, 72%) |
| CMYK | cmyk(76%, 26.2%, 0%, 28.2%) |
| CIE-LAB | lab(53.25, -10.08, -32.74) |
| CIE-LCH | lch(53.25, 34.26, 252.90°) |
| OKLab | oklab(59.23% -0.0612 -0.0924) |
| OKLCH | oklch(59.23% 0.111 236.5) |
| XYZ | xyz(18.2465, 21.2802, 47.9364) |
| Luminance | 0.2128 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 3.72
Steel Blue
#4682B4
ΔE00 4.30
Cool Blue
#4984B8
ΔE00 4.64
Cerulean (survey)
#0485D1
ΔE00 4.77
Nice Blue
#107AB0
ΔE00 5.08
Cerulean
#007BA7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87B7 #B75C2C
analogous
#2CB7A1 #2C87B7 #2C42B7
triadic
#2C87B7 #B72C87 #87B72C
tetradic
#2C87B7 #A12CB7 #B75C2C #42B72C
square
#2C87B7 #A12CB7 #B75C2C #42B72C
split-complementary
#2C87B7 #B72C42 #B7A12C
monochromatic
#143E54 #206386 #2C87B7 #4CA5D4 #7EBEE0
Accessibility & contrast
On white
4.00
#2C87B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#2C87B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87B7
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87B7 | 1.00 | 4.00 | 5.26 | 5.26 |
| #FFFFFF | 4.00 | 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)
#7087B9
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2c87b7; /* rgb */ color: rgb(44, 135, 183); /* oklch */ color: oklch(59.2% 0.111 236.5);
Tailwind
colors: {
custom: {
50: '#79a9cd',
500: '#2c87b7',
950: '#000000',
},
}SCSS
$custom: #2c87b7; $custom-light: #79a9cd; $custom-dark: #000000;
JSON
{
"hex": "#2c87b7",
"rgb": {
"r": 44,
"g": 135,
"b": 183
},
"hsl": {
"h": 200.719,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.59234,
"c": 0.11083,
"h": 236.5
},
"luminance": 0.21282
}Semantic roles & 50–950 ramp
primary
#2C87B7
secondary
#C89376
accent
#7B43E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82