#2C787A#2C787A

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

Color values

HEX#2C787A
RGBrgb(44, 120, 122)
HSLhsl(182, 47%, 33%)
HSVhsv(182, 64%, 48%)
CMYKcmyk(63.9%, 1.6%, 0%, 52.2%)
CIE-LABlab(46.14, -22.23, -8.01)
CIE-LCHlch(46.14, 23.63, 199.82°)
OKLaboklab(52.73% -0.07 -0.0222)
OKLCHoklch(52.73% 0.073 197.6)
XYZxyz(11.2665, 15.3724, 20.7820)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C787A #7A2E2C
analogous
#2C7A55 #2C787A #2C517A
triadic
#2C787A #7A2C78 #787A2C
tetradic
#2C787A #552C7A #7A2E2C #517A2C
square
#2C787A #552C7A #7A2E2C #517A2C
split-complementary
#2C787A #7A2C51 #7A552C
monochromatic
#0C2020 #1C4C4D #2C787A #3CA4A7 #5CC2C4

Accessibility & contrast

On white

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

On black

4.07
#2C787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C787A#FFFFFF#000000##FFFFFF
##2C787A1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737A
Deuteranopia (green-blind)
#64697A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c787a;
/* rgb */ color: rgb(44, 120, 122);
/* oklch */ color: oklch(52.7% 0.073 197.6);
Tailwind
colors: {
  custom: {
    50: '#709fa0',
    500: '#2c787a',
    950: '#000000',
  },
}
SCSS
$custom: #2c787a;
$custom-light: #709fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c787a",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.538,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52731,
    "c": 0.07341,
    "h": 197.6
  },
  "luminance": 0.15374
}

Semantic roles & 50–950 ramp

primary
#2C787A
secondary
#AA5A57
accent
#5551D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2C787A

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

Preview Lab → · Contrast checker → · Palette generator →

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