#2E5142#2E5142

#2E5142 is a dark, muted teal. Relative luminance 0.069; OKLCH L 40.3% C 0.048 H 165.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2E5142
RGBrgb(46, 81, 66)
HSLhsl(154, 28%, 25%)
HSVhsv(154, 43%, 32%)
CMYKcmyk(43.2%, 0%, 18.5%, 68.2%)
CIE-LABlab(31.48, -16.67, 4.88)
CIE-LCHlch(31.48, 17.37, 163.69°)
OKLaboklab(40.33% -0.0467 0.0126)
OKLCHoklch(40.33% 0.048 165)
XYZxyz(5.0521, 6.8587, 6.2108)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5142 #512E3D
analogous
#2E5131 #2E5142 #2E4E51
triadic
#2E5142 #422E51 #51422E
tetradic
#2E5142 #312E51 #512E3D #4E512E
square
#2E5142 #312E51 #512E3D #4E512E
split-complementary
#2E5142 #512E4E #51312E
monochromatic
#0B1410 #182A22 #2E5142 #447862 #5A9F82

Accessibility & contrast

On white

8.85
#2E5142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E5142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5142
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5142#FFFFFF#000000##FFFFFF
##2E51421.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C41
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#25514D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e5142;
/* rgb */ color: rgb(46, 81, 66);
/* oklch */ color: oklch(40.3% 0.048 165.0);
Tailwind
colors: {
  custom: {
    50: '#688276',
    500: '#2e5142',
    950: '#000000',
  },
}
SCSS
$custom: #2e5142;
$custom-light: #688276;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5142",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 66
  },
  "hsl": {
    "h": 154.286,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.04839,
    "h": 165
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#2E5142
secondary
#83586A
accent
#648DC4
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2E5142

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

Preview Lab → · Contrast checker → · Palette generator →

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