#2887AF#2887AF
#2887AF is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.7% C 0.105 H 230.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2887AF |
|---|---|
| RGB | rgb(40, 135, 175) |
| HSL | hsl(198, 63%, 42%) |
| HSV | hsv(198, 77%, 69%) |
| CMYK | cmyk(77.1%, 22.9%, 0%, 31.4%) |
| CIE-LAB | lab(52.81, -13.37, -28.85) |
| CIE-LCH | lch(52.81, 31.80, 245.13°) |
| OKLab | oklab(58.74% -0.0659 -0.0812) |
| OKLCH | oklch(58.74% 0.105 230.9) |
| XYZ | xyz(17.2738, 20.8721, 43.6675) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.91
Cerulean
#007BA7
ΔE00 4.77
Nice Blue
#107AB0
ΔE00 6.13
Steel Blue
#4682B4
ΔE00 6.25
Water Blue
#0E87CC
ΔE00 6.44
Cool Blue
#4984B8
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2887AF #AF5028
analogous
#28AF94 #2887AF #2843AF
triadic
#2887AF #AF2887 #87AF28
tetradic
#2887AF #9428AF #AF5028 #43AF28
square
#2887AF #9428AF #AF5028 #43AF28
split-complementary
#2887AF #AF2843 #AF9428
monochromatic
#113A4B #1D617D #2887AF #41A8D4 #73BFDF
Accessibility & contrast
On white
4.06
#2887AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#2887AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2887AF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2887AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2887AF | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7385B1
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2887af; /* rgb */ color: rgb(40, 135, 175); /* oklch */ color: oklch(58.7% 0.105 230.9);
Tailwind
colors: {
custom: {
50: '#77aac7',
500: '#2887af',
950: '#000000',
},
}SCSS
$custom: #2887af; $custom-light: #77aac7; $custom-dark: #000000;
JSON
{
"hex": "#2887af",
"rgb": {
"r": 40,
"g": 135,
"b": 175
},
"hsl": {
"h": 197.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.58736,
"c": 0.10455,
"h": 230.9
},
"luminance": 0.20874
}Semantic roles & 50–950 ramp
primary
#2887AF
secondary
#C6876D
accent
#7342E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82