#2E4240#2E4240

#2E4240 is a dark, muted teal. Relative luminance 0.048; OKLCH L 36.1% C 0.026 H 188.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2E4240
RGBrgb(46, 66, 64)
HSLhsl(174, 18%, 22%)
HSVhsv(174, 30%, 26%)
CMYKcmyk(30.3%, 0%, 3%, 74.1%)
CIE-LABlab(26.29, -8.39, -1.34)
CIE-LCHlch(26.29, 8.49, 189.08°)
OKLaboklab(36.15% -0.0253 -0.0037)
OKLCHoklch(36.15% 0.026 188.4)
XYZxyz(4.0000, 4.8472, 5.5743)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4240 #422E30
analogous
#2E4236 #2E4240 #2E3A42
triadic
#2E4240 #402E42 #42402E
tetradic
#2E4240 #362E42 #422E30 #3A422E
square
#2E4240 #362E42 #422E30 #3A422E
split-complementary
#2E4240 #422E3A #42362E
monochromatic
#0D1211 #151E1D #2E4240 #476663 #608A86

Accessibility & contrast

On white

10.66
#2E4240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E4240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4240
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4240#FFFFFF#000000##FFFFFF
##2E42401.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#3C3D40
Tritanopia (blue-blind)
#284341
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e4240;
/* rgb */ color: rgb(46, 66, 64);
/* oklch */ color: oklch(36.1% 0.026 188.4);
Tailwind
colors: {
  custom: {
    50: '#677674',
    500: '#2e4240',
    950: '#000000',
  },
}
SCSS
$custom: #2e4240;
$custom-light: #677674;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4240",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 174,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.36148,
    "c": 0.02553,
    "h": 188.4
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#2E4240
secondary
#73595C
accent
#6D75BB
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2E4240

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

Preview Lab → · Contrast checker → · Palette generator →

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