#2C7865#2C7865

#2C7865 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.081 H 173.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2C7865
RGBrgb(44, 120, 101)
HSLhsl(165, 46%, 32%)
HSVhsv(165, 63%, 47%)
CMYKcmyk(63.3%, 0%, 15.8%, 52.9%)
CIE-LABlab(45.51, -28.26, 3.55)
CIE-LCHlch(45.51, 28.49, 172.84°)
OKLaboklab(52.01% -0.0802 0.009)
OKLCHoklch(52.01% 0.081 173.6)
XYZxyz(10.1030, 14.9070, 14.6543)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7865 #782C3F
analogous
#2C783F #2C7865 #2C6578
triadic
#2C7865 #652C78 #78652C
tetradic
#2C7865 #3F2C78 #782C3F #65782C
square
#2C7865 #3F2C78 #782C3F #65782C
split-complementary
#2C7865 #782C65 #783F2C
monochromatic
#0B1E1A #1C4B3F #2C7865 #3CA58B #5BC3A9

Accessibility & contrast

On white

5.27
#2C7865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2C7865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7865
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7865#FFFFFF#000000##FFFFFF
##2C78651.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747064
Deuteranopia (green-blind)
#696866
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7865;
/* rgb */ color: rgb(44, 120, 101);
/* oklch */ color: oklch(52.0% 0.081 173.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f90',
    500: '#2c7865',
    950: '#000000',
  },
}
SCSS
$custom: #2c7865;
$custom-light: #6e9f90;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7865",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 101
  },
  "hsl": {
    "h": 165,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.08067,
    "h": 173.6
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#2C7865
secondary
#A9576B
accent
#5273D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2C7865

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

Preview Lab → · Contrast checker → · Palette generator →

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