#2E5151#2E5151

#2E5151 is a dark, muted teal. Relative luminance 0.071; OKLCH L 40.9% C 0.041 H 195.7°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2E5151
RGBrgb(46, 81, 81)
HSLhsl(180, 28%, 25%)
HSVhsv(180, 43%, 32%)
CMYKcmyk(43.2%, 0%, 0%, 68.2%)
CIE-LABlab(31.94, -12.62, -3.99)
CIE-LCHlch(31.94, 13.24, 197.52°)
OKLaboklab(40.85% -0.0391 -0.011)
OKLCHoklch(40.85% 0.041 195.7)
XYZxyz(5.5538, 7.0594, 8.8529)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5151 #512E2E
analogous
#2E5140 #2E5151 #2E4051
triadic
#2E5151 #512E51 #51512E
tetradic
#2E5151 #402E51 #512E2E #40512E
square
#2E5151 #402E51 #512E2E #40512E
split-complementary
#2E5151 #512E40 #51402E
monochromatic
#0B1414 #182A2A #2E5151 #447878 #5A9F9F

Accessibility & contrast

On white

8.71
#2E5151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E5151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5151
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5151#FFFFFF#000000##FFFFFF
##2E51511.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E51
Deuteranopia (green-blind)
#464951
Tritanopia (blue-blind)
#1E5351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e5151;
/* rgb */ color: rgb(46, 81, 81);
/* oklch */ color: oklch(40.9% 0.041 195.7);
Tailwind
colors: {
  custom: {
    50: '#698281',
    500: '#2e5151',
    950: '#000000',
  },
}
SCSS
$custom: #2e5151;
$custom-light: #698281;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5151",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 81
  },
  "hsl": {
    "h": 180,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.04062,
    "h": 195.7
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#2E5151
secondary
#835858
accent
#6464C4
background
#F6F7F7
surface
#EBEEEE
border
#C6C9C9
text
#060A0A
muted
#7A7C7C

Preview Lab

Preview with #2E5151

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

Preview Lab → · Contrast checker → · Palette generator →

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