#2C87B5#2C87B5
#2C87B5 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.109 H 235.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2C87B5 |
|---|---|
| RGB | rgb(44, 135, 181) |
| HSL | hsl(200, 61%, 44%) |
| HSV | hsv(200, 76%, 71%) |
| CMYK | cmyk(75.7%, 25.4%, 0%, 29%) |
| CIE-LAB | lab(53.16, -10.78, -31.74) |
| CIE-LCH | lch(53.16, 33.52, 251.24°) |
| OKLab | oklab(59.13% -0.0619 -0.0895) |
| OKLCH | oklch(59.13% 0.109 235.3) |
| XYZ | xyz(18.0398, 21.1975, 46.8479) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 4.30
Steel Blue
#4682B4
ΔE00 4.64
Cool Blue
#4984B8
ΔE00 5.03
Cerulean
#007BA7
ΔE00 5.05
Nice Blue
#107AB0
ΔE00 5.22
Cerulean (survey)
#0485D1
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C87B5 #B55A2C
analogous
#2CB59F #2C87B5 #2C43B5
triadic
#2C87B5 #B52C87 #87B52C
tetradic
#2C87B5 #9F2CB5 #B55A2C #43B52C
square
#2C87B5 #9F2CB5 #B55A2C #43B52C
split-complementary
#2C87B5 #B52C43 #B59F2C
monochromatic
#143E53 #206284 #2C87B5 #4BA5D3 #7CBEDF
Accessibility & contrast
On white
4.01
#2C87B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#2C87B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C87B5
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C87B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C87B5 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7186B7
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #2c87b5; /* rgb */ color: rgb(44, 135, 181); /* oklch */ color: oklch(59.1% 0.109 235.3);
Tailwind
colors: {
custom: {
50: '#79a9cb',
500: '#2c87b5',
950: '#000000',
},
}SCSS
$custom: #2c87b5; $custom-light: #79a9cb; $custom-dark: #000000;
JSON
{
"hex": "#2c87b5",
"rgb": {
"r": 44,
"g": 135,
"b": 181
},
"hsl": {
"h": 200.146,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.59133,
"c": 0.1088,
"h": 235.3
},
"luminance": 0.212
}Semantic roles & 50–950 ramp
primary
#2C87B5
secondary
#C89175
accent
#7A44E4
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82