#2C4042#2C4042

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

Color values

HEX#2C4042
RGBrgb(44, 64, 66)
HSLhsl(185, 20%, 22%)
HSVhsv(185, 33%, 26%)
CMYKcmyk(33.3%, 3%, 0%, 74.1%)
CIE-LABlab(25.55, -7.30, -3.78)
CIE-LCHlch(25.55, 8.22, 207.34°)
OKLaboklab(35.54% -0.0233 -0.0103)
OKLCHoklch(35.54% 0.026 203.8)
XYZxyz(3.8551, 4.5954, 5.8371)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4042 #422E2C
analogous
#2C4239 #2C4042 #2C3542
triadic
#2C4042 #422C40 #40422C
tetradic
#2C4042 #392C42 #422E2C #35422C
square
#2C4042 #392C42 #422E2C #35422C
split-complementary
#2C4042 #422C35 #42392C
monochromatic
#0C1212 #141C1D #2C4042 #446467 #5D878B

Accessibility & contrast

On white

10.94
#2C4042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C4042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4042
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4042#FFFFFF#000000##FFFFFF
##2C40421.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E42
Deuteranopia (green-blind)
#393B42
Tritanopia (blue-blind)
#244241
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c4042;
/* rgb */ color: rgb(44, 64, 66);
/* oklch */ color: oklch(35.5% 0.026 203.8);
Tailwind
colors: {
  custom: {
    50: '#667476',
    500: '#2c4042',
    950: '#000000',
  },
}
SCSS
$custom: #2c4042;
$custom-light: #667476;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4042",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 185.455,
    "s": 20,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.02552,
    "h": 203.8
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#2C4042
secondary
#735957
accent
#736BBD
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2C4042

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

Preview Lab → · Contrast checker → · Palette generator →

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