#2E4042#2E4042

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

Color values

HEX#2E4042
RGBrgb(46, 64, 66)
HSLhsl(186, 18%, 22%)
HSVhsv(186, 30%, 26%)
CMYKcmyk(30.3%, 3%, 0%, 74.1%)
CIE-LABlab(25.69, -6.59, -3.56)
CIE-LCHlch(25.69, 7.49, 208.36°)
OKLaboklab(35.69% -0.0211 -0.0097)
OKLCHoklch(35.69% 0.023 204.7)
XYZxyz(3.9432, 4.6408, 5.8412)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4042 #42302E
analogous
#2E423A #2E4042 #2E3642
triadic
#2E4042 #422E40 #40422E
tetradic
#2E4042 #3A2E42 #42302E #36422E
square
#2E4042 #3A2E42 #42302E #36422E
split-complementary
#2E4042 #422E36 #423A2E
monochromatic
#0D1112 #151D1E #2E4042 #476366 #60868A

Accessibility & contrast

On white

10.89
#2E4042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E4042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4042
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4042#FFFFFF#000000##FFFFFF
##2E40421.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E42
Deuteranopia (green-blind)
#3A3C42
Tritanopia (blue-blind)
#274141
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4042;
/* rgb */ color: rgb(46, 64, 66);
/* oklch */ color: oklch(35.7% 0.023 204.7);
Tailwind
colors: {
  custom: {
    50: '#677476',
    500: '#2e4042',
    950: '#000000',
  },
}
SCSS
$custom: #2e4042;
$custom-light: #677476;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4042",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 186,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35685,
    "c": 0.02323,
    "h": 204.7
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#2E4042
secondary
#735C59
accent
#756DBB
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060808
muted
#7A7B7B

Preview Lab

Preview with #2E4042

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

Preview Lab → · Contrast checker → · Palette generator →

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