#2C4040#2C4040

#2C4040 is a dark, muted teal. Relative luminance 0.046; OKLCH L 35.5% C 0.025 H 196.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2C4040
RGBrgb(44, 64, 64)
HSLhsl(180, 19%, 21%)
HSVhsv(180, 31%, 25%)
CMYKcmyk(31.2%, 0%, 0%, 74.9%)
CIE-LABlab(25.48, -7.86, -2.56)
CIE-LCHlch(25.48, 8.27, 198.02°)
OKLaboklab(35.46% -0.0243 -0.007)
OKLCHoklch(35.46% 0.025 196.1)
XYZxyz(3.7972, 4.5722, 5.5319)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4040 #402C2C
analogous
#2C4036 #2C4040 #2C3640
triadic
#2C4040 #402C40 #40402C
tetradic
#2C4040 #362C40 #402C2C #36402C
square
#2C4040 #362C40 #402C2C #36402C
split-complementary
#2C4040 #402C36 #40362C
monochromatic
#0C1212 #131C1C #2C4040 #456464 #5E8989

Accessibility & contrast

On white

10.97
#2C4040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C4040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4040
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4040#FFFFFF#000000##FFFFFF
##2C40401.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E40
Deuteranopia (green-blind)
#3A3B40
Tritanopia (blue-blind)
#254140
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4040;
/* rgb */ color: rgb(44, 64, 64);
/* oklch */ color: oklch(35.5% 0.025 196.1);
Tailwind
colors: {
  custom: {
    50: '#667474',
    500: '#2c4040',
    950: '#000000',
  },
}
SCSS
$custom: #2c4040;
$custom-light: #667474;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4040",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 180,
    "s": 18.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.02532,
    "h": 196.1
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#2C4040
secondary
#715757
accent
#6D6DBB
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2C4040

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

Preview Lab → · Contrast checker → · Palette generator →

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