#2787B0#2787B0
#2787B0 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.106 H 231.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2787B0 |
|---|---|
| RGB | rgb(39, 135, 176) |
| HSL | hsl(198, 64%, 42%) |
| HSV | hsv(198, 78%, 69%) |
| CMYK | cmyk(77.8%, 23.3%, 0%, 31%) |
| CIE-LAB | lab(52.83, -13.14, -29.40) |
| CIE-LCH | lch(52.83, 32.20, 245.92°) |
| OKLab | oklab(58.76% -0.066 -0.0827) |
| OKLCH | oklch(58.76% 0.106 231.4) |
| XYZ | xyz(17.3340, 20.8918, 44.1848) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.14
Cerulean
#007BA7
ΔE00 4.72
Nice Blue
#107AB0
ΔE00 5.97
Steel Blue
#4682B4
ΔE00 6.08
Water Blue
#0E87CC
ΔE00 6.16
Cool Blue
#4984B8
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2787B0 #B05027
analogous
#27B095 #2787B0 #2743B0
triadic
#2787B0 #B02787 #87B027
tetradic
#2787B0 #9527B0 #B05027 #43B027
square
#2787B0 #9527B0 #B05027 #43B027
split-complementary
#2787B0 #B02743 #B09527
monochromatic
#113A4C #1C617E #2787B0 #40A8D5 #72BFE0
Accessibility & contrast
On white
4.05
#2787B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#2787B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2787B0
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2787B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2787B0 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7285B2
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #2787b0; /* rgb */ color: rgb(39, 135, 176); /* oklch */ color: oklch(58.8% 0.106 231.4);
Tailwind
colors: {
custom: {
50: '#76aac7',
500: '#2787b0',
950: '#000000',
},
}SCSS
$custom: #2787b0; $custom-light: #76aac7; $custom-dark: #000000;
JSON
{
"hex": "#2787b0",
"rgb": {
"r": 39,
"g": 135,
"b": 176
},
"hsl": {
"h": 197.956,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.58761,
"c": 0.10582,
"h": 231.4
},
"luminance": 0.20894
}Semantic roles & 50–950 ramp
primary
#2787B0
secondary
#C7876C
accent
#7341E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82