#2887B1#2887B1
#2887B1 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.106 H 232.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2887B1 |
|---|---|
| RGB | rgb(40, 135, 177) |
| HSL | hsl(198, 63%, 43%) |
| HSV | hsv(198, 77%, 69%) |
| CMYK | cmyk(77.4%, 23.7%, 0%, 30.6%) |
| CIE-LAB | lab(52.90, -12.67, -29.87) |
| CIE-LCH | lch(52.90, 32.44, 247.01°) |
| OKLab | oklab(58.83% -0.0652 -0.0841) |
| OKLCH | oklch(58.83% 0.106 232.2) |
| XYZ | xyz(17.4716, 20.9513, 44.7096) |
| Luminance | 0.2095 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.38
Cerulean
#007BA7
ΔE00 4.73
Water Blue
#0E87CC
ΔE00 5.77
Nice Blue
#107AB0
ΔE00 5.77
Steel Blue
#4682B4
ΔE00 5.78
Cool Blue
#4984B8
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2887B1 #B15228
analogous
#28B196 #2887B1 #2843B1
triadic
#2887B1 #B12887 #87B128
tetradic
#2887B1 #9628B1 #B15228 #43B128
square
#2887B1 #9628B1 #B15228 #43B128
split-complementary
#2887B1 #B12843 #B19628
monochromatic
#113B4D #1D617F #2887B1 #42A7D4 #74BFE0
Accessibility & contrast
On white
4.05
#2887B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#2887B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2887B1
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2887B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2887B1 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7286B3
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2887b1; /* rgb */ color: rgb(40, 135, 177); /* oklch */ color: oklch(58.8% 0.106 232.2);
Tailwind
colors: {
custom: {
50: '#77aac8',
500: '#2887b1',
950: '#000000',
},
}SCSS
$custom: #2887b1; $custom-light: #77aac8; $custom-dark: #000000;
JSON
{
"hex": "#2887b1",
"rgb": {
"r": 40,
"g": 135,
"b": 177
},
"hsl": {
"h": 198.394,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.58834,
"c": 0.1064,
"h": 232.2
},
"luminance": 0.20953
}Semantic roles & 50–950 ramp
primary
#2887B1
secondary
#C7896E
accent
#7442E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82