#2E7F78#2E7F78

#2E7F78 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.078 H 187.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2E7F78
RGBrgb(46, 127, 120)
HSLhsl(175, 47%, 34%)
HSVhsv(175, 64%, 50%)
CMYKcmyk(63.8%, 0%, 5.5%, 50.2%)
CIE-LABlab(48.40, -26.04, -3.46)
CIE-LCHlch(48.40, 26.27, 187.57°)
OKLaboklab(54.56% -0.0777 -0.0098)
OKLCHoklch(54.56% 0.078 187.2)
XYZxyz(12.1047, 17.1144, 20.4311)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7F78 #7F2E35
analogous
#2E7F50 #2E7F78 #2E5E7F
triadic
#2E7F78 #782E7F #7F782E
tetradic
#2E7F78 #502E7F #7F2E35 #5E7F2E
square
#2E7F78 #502E7F #7F2E35 #5E7F2E
split-complementary
#2E7F78 #7F2E5E #7F502E
monochromatic
#0D2523 #1E524E #2E7F78 #3EACA2 #61C6BD

Accessibility & contrast

On white

4.75
#2E7F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2E7F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7F78
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7F78#FFFFFF#000000##FFFFFF
##2E7F781.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787878
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e7f78;
/* rgb */ color: rgb(46, 127, 120);
/* oklch */ color: oklch(54.6% 0.078 187.2);
Tailwind
colors: {
  custom: {
    50: '#71a49e',
    500: '#2e7f78',
    950: '#000000',
  },
}
SCSS
$custom: #2e7f78;
$custom-light: #71a49e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7f78",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 120
  },
  "hsl": {
    "h": 174.815,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.07835,
    "h": 187.2
  },
  "luminance": 0.17116
}

Semantic roles & 50–950 ramp

primary
#2E7F78
secondary
#AD5C63
accent
#515DD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2E7F78

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

Preview Lab → · Contrast checker → · Palette generator →

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