#2C787F#2C787F

#2C787F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.074 H 203.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2C787F
RGBrgb(44, 120, 127)
HSLhsl(185, 49%, 34%)
HSVhsv(185, 65%, 50%)
CMYKcmyk(65.4%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.31, -20.68, -10.73)
CIE-LCHlch(46.31, 23.30, 207.43°)
OKLaboklab(52.93% -0.0677 -0.0297)
OKLCHoklch(52.93% 0.074 203.7)
XYZxyz(11.5843, 15.4995, 22.4557)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C787F #7F332C
analogous
#2C7F5C #2C787F #2C4E7F
triadic
#2C787F #7F2C78 #787F2C
tetradic
#2C787F #5C2C7F #7F332C #4E7F2C
square
#2C787F #5C2C7F #7F332C #4E7F2C
split-complementary
#2C787F #7F2C4E #7F5C2C
monochromatic
#0D2224 #1C4D52 #2C787F #3CA3AC #5EBEC7

Accessibility & contrast

On white

5.12
#2C787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2C787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C787F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C787F#FFFFFF#000000##FFFFFF
##2C787F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7380
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c787f;
/* rgb */ color: rgb(44, 120, 127);
/* oklch */ color: oklch(52.9% 0.074 203.7);
Tailwind
colors: {
  custom: {
    50: '#709fa4',
    500: '#2c787f',
    950: '#000000',
  },
}
SCSS
$custom: #2c787f;
$custom-light: #709fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c787f",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 185.06,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.07393,
    "h": 203.7
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#2C787F
secondary
#AD6059
accent
#5B50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2C787F

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

Preview Lab → · Contrast checker → · Palette generator →

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