#2C787B#2C787B

#2C787B is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.073 H 198.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2C787B
RGBrgb(44, 120, 123)
HSLhsl(182, 47%, 33%)
HSVhsv(182, 64%, 48%)
CMYKcmyk(64.2%, 2.4%, 0%, 51.8%)
CIE-LABlab(46.17, -21.92, -8.56)
CIE-LCHlch(46.17, 23.54, 201.33°)
OKLaboklab(52.77% -0.0695 -0.0237)
OKLCHoklch(52.77% 0.073 198.8)
XYZxyz(11.3288, 15.3973, 21.1100)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C787B #7B2F2C
analogous
#2C7B56 #2C787B #2C517B
triadic
#2C787B #7B2C78 #787B2C
tetradic
#2C787B #562C7B #7B2F2C #517B2C
square
#2C787B #562C7B #7B2F2C #517B2C
split-complementary
#2C787B #7B2C51 #7B562C
monochromatic
#0C2021 #1C4C4E #2C787B #3CA4A8 #5DC1C5

Accessibility & contrast

On white

5.15
#2C787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2C787B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C787B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C787B#FFFFFF#000000##FFFFFF
##2C787B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737B
Deuteranopia (green-blind)
#636A7B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c787b;
/* rgb */ color: rgb(44, 120, 123);
/* oklch */ color: oklch(52.8% 0.073 198.8);
Tailwind
colors: {
  custom: {
    50: '#709fa1',
    500: '#2c787b',
    950: '#000000',
  },
}
SCSS
$custom: #2c787b;
$custom-light: #709fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c787b",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.278,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52769,
    "c": 0.07344,
    "h": 198.8
  },
  "luminance": 0.15398
}

Semantic roles & 50–950 ramp

primary
#2C787B
secondary
#AB5B58
accent
#5651D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2C787B

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

Preview Lab → · Contrast checker → · Palette generator →

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