#2C7987#2C7987
#2C7987 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.5% C 0.077 H 211.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7987 |
|---|---|
| RGB | rgb(44, 121, 135) |
| HSL | hsl(189, 51%, 35%) |
| HSV | hsv(189, 67%, 53%) |
| CMYK | cmyk(67.4%, 10.4%, 0%, 47.1%) |
| CIE-LAB | lab(46.92, -18.66, -14.56) |
| CIE-LCH | lch(46.92, 23.67, 217.96°) |
| OKLab | oklab(53.51% -0.0652 -0.0404) |
| OKLCH | oklch(53.51% 0.077 211.8) |
| XYZ | xyz(12.2474, 15.9582, 25.3517) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Ocean
#017B92
ΔE00 3.21
Deep Aqua
#08787F
ΔE00 4.52
Teal Blue
#01889F
ΔE00 6.13
Sea Blue
#047495
ΔE00 7.01
Dirty Blue
#3F829D
ΔE00 7.20
Deep Turquoise
#017374
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7987 #873A2C
analogous
#2C8768 #2C7987 #2C4B87
triadic
#2C7987 #872C79 #79872C
tetradic
#2C7987 #682C87 #873A2C #4B872C
square
#2C7987 #682C87 #873A2C #4B872C
split-complementary
#2C7987 #872C4B #87682C
monochromatic
#0E262B #1D5059 #2C7987 #3BA2B5 #62BBCC
Accessibility & contrast
On white
5.01
#2C7987 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#2C7987 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7987
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7987 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E7588
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7987; /* rgb */ color: rgb(44, 121, 135); /* oklch */ color: oklch(53.5% 0.077 211.8);
Tailwind
colors: {
custom: {
50: '#71a0aa',
500: '#2c7987',
950: '#000000',
},
}SCSS
$custom: #2c7987; $custom-light: #71a0aa; $custom-dark: #000000;
JSON
{
"hex": "#2c7987",
"rgb": {
"r": 44,
"g": 121,
"b": 135
},
"hsl": {
"h": 189.231,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.53511,
"c": 0.07677,
"h": 211.8
},
"luminance": 0.15959
}Semantic roles & 50–950 ramp
primary
#2C7987
secondary
#B26A5D
accent
#634DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F