#2C7271#2C7271

#2C7271 is a mid, moderate teal. Relative luminance 0.138; OKLCH L 50.8% C 0.069 H 193.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2C7271
RGBrgb(44, 114, 113)
HSLhsl(179, 44%, 31%)
HSVhsv(179, 61%, 45%)
CMYKcmyk(61.4%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.89, -21.82, -5.99)
CIE-LCHlch(43.89, 22.63, 195.36°)
OKLaboklab(50.81% -0.0673 -0.0166)
OKLCHoklch(50.81% 0.069 193.9)
XYZxyz(10.0354, 13.7613, 17.7469)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7271 #722C2D
analogous
#2C724E #2C7271 #2C5072
triadic
#2C7271 #712C72 #72712C
tetradic
#2C7271 #4E2C72 #722C2D #50722C
square
#2C7271 #4E2C72 #722C2D #50722C
split-complementary
#2C7271 #722C50 #724E2C
monochromatic
#0A1A19 #1B4645 #2C7271 #3D9E9D #59BFBE

Accessibility & contrast

On white

5.60
#2C7271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2C7271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7271
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7271#FFFFFF#000000##FFFFFF
##2C72711.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#606472
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c7271;
/* rgb */ color: rgb(44, 114, 113);
/* oklch */ color: oklch(50.8% 0.069 193.9);
Tailwind
colors: {
  custom: {
    50: '#6e9b99',
    500: '#2c7271',
    950: '#000000',
  },
}
SCSS
$custom: #2c7271;
$custom-light: #6e9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7271",
  "rgb": {
    "r": 44,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.143,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.0693,
    "h": 193.9
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#2C7271
secondary
#A45657
accent
#5456D4
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #2C7271

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

Preview Lab → · Contrast checker → · Palette generator →

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