#2E4040#2E4040

#2E4040 is a dark, muted teal. Relative luminance 0.046; OKLCH L 35.6% C 0.023 H 196.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2E4040
RGBrgb(46, 64, 64)
HSLhsl(180, 16%, 22%)
HSVhsv(180, 28%, 25%)
CMYKcmyk(28.1%, 0%, 0%, 74.9%)
CIE-LABlab(25.62, -7.14, -2.34)
CIE-LCHlch(25.62, 7.52, 198.15°)
OKLaboklab(35.61% -0.0221 -0.0064)
OKLCHoklch(35.61% 0.023 196.2)
XYZxyz(3.8852, 4.6176, 5.5361)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4040 #402E2E
analogous
#2E4037 #2E4040 #2E3740
triadic
#2E4040 #402E40 #40402E
tetradic
#2E4040 #372E40 #402E2E #37402E
square
#2E4040 #372E40 #402E2E #37402E
split-complementary
#2E4040 #402E37 #40372E
monochromatic
#0D1212 #141C1C #2E4040 #486464 #618787

Accessibility & contrast

On white

10.92
#2E4040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4040
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4040#FFFFFF#000000##FFFFFF
##2E40401.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E40
Deuteranopia (green-blind)
#3A3C40
Tritanopia (blue-blind)
#284140
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4040;
/* rgb */ color: rgb(46, 64, 64);
/* oklch */ color: oklch(35.6% 0.023 196.2);
Tailwind
colors: {
  custom: {
    50: '#677474',
    500: '#2e4040',
    950: '#000000',
  },
}
SCSS
$custom: #2e4040;
$custom-light: #677474;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4040",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 180,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35607,
    "c": 0.023,
    "h": 196.2
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#2E4040
secondary
#705959
accent
#6F6FB9
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2E4040

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

Preview Lab → · Contrast checker → · Palette generator →

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