#2C787D#2C787D

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

Color values

HEX#2C787D
RGBrgb(44, 120, 125)
HSLhsl(184, 48%, 33%)
HSVhsv(184, 65%, 49%)
CMYKcmyk(64.8%, 4%, 0%, 51%)
CIE-LABlab(46.24, -21.30, -9.65)
CIE-LCHlch(46.24, 23.39, 204.36°)
OKLaboklab(52.85% -0.0686 -0.0267)
OKLCHoklch(52.85% 0.074 201.3)
XYZxyz(11.4553, 15.4479, 21.7761)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C787D #7D312C
analogous
#2C7D59 #2C787D #2C4F7D
triadic
#2C787D #7D2C78 #787D2C
tetradic
#2C787D #592C7D #7D312C #4F7D2C
square
#2C787D #592C7D #7D312C #4F7D2C
split-complementary
#2C787D #7D2C4F #7D592C
monochromatic
#0C2122 #1C4D50 #2C787D #3CA3AA #5DC0C6

Accessibility & contrast

On white

5.13
#2C787D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2C787D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C787D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C787D#FFFFFF#000000##FFFFFF
##2C787D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737D
Deuteranopia (green-blind)
#636A7D
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c787d;
/* rgb */ color: rgb(44, 120, 125);
/* oklch */ color: oklch(52.8% 0.074 201.3);
Tailwind
colors: {
  custom: {
    50: '#709fa2',
    500: '#2c787d',
    950: '#000000',
  },
}
SCSS
$custom: #2c787d;
$custom-light: #709fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c787d",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 183.704,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52847,
    "c": 0.07361,
    "h": 201.3
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#2C787D
secondary
#AC5E59
accent
#5950D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2C787D

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

Preview Lab → · Contrast checker → · Palette generator →

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