#2787AA#2787AA
#2787AA is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.101 H 227.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2787AA |
|---|---|
| RGB | rgb(39, 135, 170) |
| HSL | hsl(196, 63%, 41%) |
| HSV | hsv(196, 77%, 67%) |
| CMYK | cmyk(77.1%, 20.6%, 0%, 33.3%) |
| CIE-LAB | lab(52.57, -15.24, -26.34) |
| CIE-LCH | lch(52.57, 30.43, 239.95°) |
| OKLab | oklab(58.47% -0.0682 -0.0739) |
| OKLCH | oklch(58.47% 0.101 227.3) |
| XYZ | xyz(16.7534, 20.6595, 41.1271) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 2.96
Cerulean
#007BA7
ΔE00 5.26
Teal Blue
#01889F
ΔE00 5.36
Ocean
#017B92
ΔE00 6.91
Nice Blue
#107AB0
ΔE00 7.31
Sea Blue
#047495
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2787AA #AA4A27
analogous
#27AA8B #2787AA #2745AA
triadic
#2787AA #AA2787 #87AA27
tetradic
#2787AA #8B27AA #AA4A27 #45AA27
square
#2787AA #8B27AA #AA4A27 #45AA27
split-complementary
#2787AA #AA2745 #AA8B27
monochromatic
#103846 #1C5F78 #2787AA #3CAAD2 #6EC0DE
Accessibility & contrast
On white
4.09
#2787AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#2787AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2787AA
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2787AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2787AA | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7485AC
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2787aa; /* rgb */ color: rgb(39, 135, 170); /* oklch */ color: oklch(58.5% 0.101 227.3);
Tailwind
colors: {
custom: {
50: '#75aac3',
500: '#2787aa',
950: '#000000',
},
}SCSS
$custom: #2787aa; $custom-light: #75aac3; $custom-dark: #000000;
JSON
{
"hex": "#2787aa",
"rgb": {
"r": 39,
"g": 135,
"b": 170
},
"hsl": {
"h": 196.031,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.58472,
"c": 0.10059,
"h": 227.3
},
"luminance": 0.20662
}Semantic roles & 50–950 ramp
primary
#2787AA
secondary
#C48169
accent
#6E42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81