#2E4E42#2E4E42

#2E4E42 is a dark, muted teal. Relative luminance 0.064; OKLCH L 39.5% C 0.043 H 168.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2E4E42
RGBrgb(46, 78, 66)
HSLhsl(158, 26%, 24%)
HSVhsv(158, 41%, 31%)
CMYKcmyk(41%, 0%, 15.4%, 69.4%)
CIE-LABlab(30.45, -14.98, 3.41)
CIE-LCHlch(30.45, 15.37, 167.19°)
OKLaboklab(39.5% -0.0424 0.0088)
OKLCHoklch(39.5% 0.043 168.3)
XYZxyz(4.8341, 6.4227, 6.1382)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E42 #4E2E3A
analogous
#2E4E32 #2E4E42 #2E4A4E
triadic
#2E4E42 #422E4E #4E422E
tetradic
#2E4E42 #322E4E #4E2E3A #4A4E2E
square
#2E4E42 #322E4E #4E2E3A #4A4E2E
split-complementary
#2E4E42 #4E2E4A #4E322E
monochromatic
#0B1310 #172821 #2E4E42 #457463 #5B9B83

Accessibility & contrast

On white

9.19
#2E4E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E42
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E42#FFFFFF#000000##FFFFFF
##2E4E421.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A41
Deuteranopia (green-blind)
#474643
Tritanopia (blue-blind)
#254E4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4e42;
/* rgb */ color: rgb(46, 78, 66);
/* oklch */ color: oklch(39.5% 0.043 168.3);
Tailwind
colors: {
  custom: {
    50: '#687f76',
    500: '#2e4e42',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e42;
$custom-light: #687f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e42",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 66
  },
  "hsl": {
    "h": 157.5,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.0433,
    "h": 168.3
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#2E4E42
secondary
#7F5867
accent
#6688C2
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2E4E42

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

Preview Lab → · Contrast checker → · Palette generator →

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