#2E7271#2E7271

#2E7271 is a mid, moderate teal. Relative luminance 0.138; OKLCH L 50.9% C 0.068 H 193.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2E7271
RGBrgb(46, 114, 113)
HSLhsl(179, 43%, 31%)
HSVhsv(179, 60%, 45%)
CMYKcmyk(59.6%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.95, -21.41, -5.89)
CIE-LCHlch(43.95, 22.21, 195.37°)
OKLaboklab(50.88% -0.066 -0.0163)
OKLCHoklch(50.88% 0.068 193.9)
XYZxyz(10.1234, 13.8067, 17.7510)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7271 #722E2F
analogous
#2E724F #2E7271 #2E5172
triadic
#2E7271 #712E72 #72712E
tetradic
#2E7271 #4F2E72 #722E2F #51722E
square
#2E7271 #4F2E72 #722E2F #51722E
split-complementary
#2E7271 #722E51 #724F2E
monochromatic
#0B1B1B #1C4646 #2E7271 #409E9C #5DBEBC

Accessibility & contrast

On white

5.58
#2E7271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2E7271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7271
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7271#FFFFFF#000000##FFFFFF
##2E72711.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#606472
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e7271;
/* rgb */ color: rgb(46, 114, 113);
/* oklch */ color: oklch(50.9% 0.068 193.9);
Tailwind
colors: {
  custom: {
    50: '#6f9b99',
    500: '#2e7271',
    950: '#000000',
  },
}
SCSS
$custom: #2e7271;
$custom-light: #6f9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7271",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.118,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.068,
    "h": 193.9
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#2E7271
secondary
#A3585A
accent
#5657D2
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2E7271

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

Preview Lab → · Contrast checker → · Palette generator →

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