#2C4842#2C4842

#2C4842 is a dark, muted teal. Relative luminance 0.056; OKLCH L 37.7% C 0.036 H 179.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2C4842
RGBrgb(44, 72, 66)
HSLhsl(167, 24%, 23%)
HSVhsv(167, 39%, 28%)
CMYKcmyk(38.9%, 0%, 8.3%, 71.8%)
CIE-LABlab(28.28, -12.17, 0.25)
CIE-LCHlch(28.28, 12.18, 178.83°)
OKLaboklab(37.73% -0.0355 0.0005)
OKLCHoklch(37.73% 0.036 179.2)
XYZxyz(4.3391, 5.5633, 5.9984)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4842 #482C32
analogous
#2C4834 #2C4842 #2C4048
triadic
#2C4842 #422C48 #48422C
tetradic
#2C4842 #342C48 #482C32 #40482C
square
#2C4842 #342C48 #482C32 #40482C
split-complementary
#2C4842 #482C40 #48342C
monochromatic
#0C1311 #15221F #2C4842 #436E65 #5A9488

Accessibility & contrast

On white

9.94
#2C4842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C4842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4842
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4842#FFFFFF#000000##FFFFFF
##2C48421.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464542
Deuteranopia (green-blind)
#414142
Tritanopia (blue-blind)
#234946
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c4842;
/* rgb */ color: rgb(44, 72, 66);
/* oklch */ color: oklch(37.7% 0.036 179.2);
Tailwind
colors: {
  custom: {
    50: '#667b76',
    500: '#2c4842',
    950: '#000000',
  },
}
SCSS
$custom: #2c4842;
$custom-light: #667b76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4842",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 167.143,
    "s": 24.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.37726,
    "c": 0.03554,
    "h": 179.2
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#2C4842
secondary
#79565E
accent
#677AC1
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #2C4842

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

Preview Lab → · Contrast checker → · Palette generator →

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