#2C786E#2C786E

#2C786E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.076 H 183.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2C786E
RGBrgb(44, 120, 110)
HSLhsl(172, 46%, 32%)
HSVhsv(172, 63%, 47%)
CMYKcmyk(63.3%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.76, -25.78, -1.43)
CIE-LCHlch(45.76, 25.82, 183.18°)
OKLaboklab(52.3% -0.0757 -0.0043)
OKLCHoklch(52.3% 0.076 183.2)
XYZxyz(10.5684, 15.0931, 17.1051)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C786E #782C36
analogous
#2C7848 #2C786E #2C5C78
triadic
#2C786E #6E2C78 #786E2C
tetradic
#2C786E #482C78 #782C36 #5C782C
square
#2C786E #482C78 #782C36 #5C782C
split-complementary
#2C786E #782C5C #78482C
monochromatic
#0B1E1C #1C4B45 #2C786E #3CA597 #5BC3B5

Accessibility & contrast

On white

5.23
#2C786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2C786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C786E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C786E#FFFFFF#000000##FFFFFF
##2C786E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c786e;
/* rgb */ color: rgb(44, 120, 110);
/* oklch */ color: oklch(52.3% 0.076 183.2);
Tailwind
colors: {
  custom: {
    50: '#6f9f97',
    500: '#2c786e',
    950: '#000000',
  },
}
SCSS
$custom: #2c786e;
$custom-light: #6f9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2c786e",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 172.105,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.07582,
    "h": 183.2
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#2C786E
secondary
#A95762
accent
#5263D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2C786E

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

Preview Lab → · Contrast checker → · Palette generator →

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