#2C7D87#2C7D87

#2C7D87 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.078 H 206.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2C7D87
RGBrgb(44, 125, 135)
HSLhsl(187, 51%, 35%)
HSVhsv(187, 67%, 53%)
CMYKcmyk(67.4%, 7.4%, 0%, 47.1%)
CIE-LABlab(48.20, -20.80, -12.62)
CIE-LCHlch(48.20, 24.33, 211.24°)
OKLaboklab(54.54% -0.0697 -0.035)
OKLCHoklch(54.54% 0.078 206.7)
XYZxyz(12.7436, 16.9506, 25.5171)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7D87 #87362C
analogous
#2C8763 #2C7D87 #2C5087
triadic
#2C7D87 #872C7D #7D872C
tetradic
#2C7D87 #632C87 #87362C #50872C
square
#2C7D87 #632C87 #87362C #50872C
split-complementary
#2C7D87 #872C50 #87632C
monochromatic
#0E282B #1D5259 #2C7D87 #3BA8B5 #62C0CC

Accessibility & contrast

On white

4.78
#2C7D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2C7D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7D87
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7D87#FFFFFF#000000##FFFFFF
##2C7D871.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737888
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c7d87;
/* rgb */ color: rgb(44, 125, 135);
/* oklch */ color: oklch(54.5% 0.078 206.7);
Tailwind
colors: {
  custom: {
    50: '#72a3aa',
    500: '#2c7d87',
    950: '#000000',
  },
}
SCSS
$custom: #2c7d87;
$custom-light: #72a3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7d87",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 135
  },
  "hsl": {
    "h": 186.593,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.07798,
    "h": 206.7
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#2C7D87
secondary
#B2665D
accent
#5D4DDA
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2C7D87

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2C7D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva