#2887B2#2887B2
#2887B2 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.107 H 232.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2887B2 |
|---|---|
| RGB | rgb(40, 135, 178) |
| HSL | hsl(199, 63%, 43%) |
| HSV | hsv(199, 78%, 70%) |
| CMYK | cmyk(77.5%, 24.2%, 0%, 30.2%) |
| CIE-LAB | lab(52.94, -12.32, -30.37) |
| CIE-LCH | lch(52.94, 32.78, 247.92°) |
| OKLab | oklab(58.88% -0.0648 -0.0856) |
| OKLCH | oklch(58.88% 0.107 232.9) |
| XYZ | xyz(17.5717, 20.9913, 45.2365) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.62
Cerulean
#007BA7
ΔE00 4.75
Water Blue
#0E87CC
ΔE00 5.45
Steel Blue
#4682B4
ΔE00 5.55
Nice Blue
#107AB0
ΔE00 5.61
Cool Blue
#4984B8
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2887B2 #B25328
analogous
#28B298 #2887B2 #2842B2
triadic
#2887B2 #B22887 #87B228
tetradic
#2887B2 #9828B2 #B25328 #42B228
square
#2887B2 #9828B2 #B25328 #42B228
split-complementary
#2887B2 #B22842 #B29828
monochromatic
#123B4E #1D6180 #2887B2 #43A7D5 #75BEE0
Accessibility & contrast
On white
4.04
#2887B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#2887B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2887B2
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2887B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2887B2 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#5F79B1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2887b2; /* rgb */ color: rgb(40, 135, 178); /* oklch */ color: oklch(58.9% 0.107 232.9);
Tailwind
colors: {
custom: {
50: '#77aac9',
500: '#2887b2',
950: '#000000',
},
}SCSS
$custom: #2887b2; $custom-light: #77aac9; $custom-dark: #000000;
JSON
{
"hex": "#2887b2",
"rgb": {
"r": 40,
"g": 135,
"b": 178
},
"hsl": {
"h": 198.696,
"s": 63.303,
"l": 42.745
},
"oklch": {
"l": 0.58883,
"c": 0.10734,
"h": 232.9
},
"luminance": 0.20993
}Semantic roles & 50–950 ramp
primary
#2887B2
secondary
#C78A6F
accent
#7541E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82