#2E4E40#2E4E40

#2E4E40 is a dark, muted teal. Relative luminance 0.064; OKLCH L 39.4% C 0.045 H 164.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4E40
RGBrgb(46, 78, 64)
HSLhsl(154, 26%, 24%)
HSVhsv(154, 41%, 31%)
CMYKcmyk(41%, 0%, 17.9%, 69.4%)
CIE-LABlab(30.40, -15.49, 4.60)
CIE-LCHlch(30.40, 16.16, 163.45°)
OKLaboklab(39.44% -0.0434 0.0119)
OKLCHoklch(39.44% 0.045 164.7)
XYZxyz(4.7762, 6.3995, 5.8330)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E40 #4E2E3C
analogous
#2E4E30 #2E4E40 #2E4C4E
triadic
#2E4E40 #402E4E #4E402E
tetradic
#2E4E40 #302E4E #4E2E3C #4C4E2E
square
#2E4E40 #302E4E #4E2E3C #4C4E2E
split-complementary
#2E4E40 #4E2E4C #4E302E
monochromatic
#0B1310 #172820 #2E4E40 #457460 #5B9B7F

Accessibility & contrast

On white

9.21
#2E4E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E40
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E40#FFFFFF#000000##FFFFFF
##2E4E401.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A3F
Deuteranopia (green-blind)
#484641
Tritanopia (blue-blind)
#264E4A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4e40;
/* rgb */ color: rgb(46, 78, 64);
/* oklch */ color: oklch(39.4% 0.045 164.7);
Tailwind
colors: {
  custom: {
    50: '#687f74',
    500: '#2e4e40',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e40;
$custom-light: #687f74;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e40",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 64
  },
  "hsl": {
    "h": 153.75,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3944,
    "c": 0.04503,
    "h": 164.7
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#2E4E40
secondary
#7F5869
accent
#668EC2
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2E4E40

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

Preview Lab → · Contrast checker → · Palette generator →

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