#2E787A#2E787A

#2E787A is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.072 H 197.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2E787A
RGBrgb(46, 120, 122)
HSLhsl(182, 45%, 33%)
HSVhsv(182, 62%, 48%)
CMYKcmyk(62.3%, 1.6%, 0%, 52.2%)
CIE-LABlab(46.20, -21.86, -7.92)
CIE-LCHlch(46.20, 23.25, 199.91°)
OKLaboklab(52.8% -0.0688 -0.0219)
OKLCHoklch(52.8% 0.072 197.7)
XYZxyz(11.3545, 15.4177, 20.7861)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E787A #7A302E
analogous
#2E7A56 #2E787A #2E527A
triadic
#2E787A #7A2E78 #787A2E
tetradic
#2E787A #562E7A #7A302E #527A2E
square
#2E787A #562E7A #7A302E #527A2E
split-complementary
#2E787A #7A2E52 #7A562E
monochromatic
#0C2121 #1D4C4E #2E787A #3FA4A6 #60C0C3

Accessibility & contrast

On white

5.14
#2E787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2E787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E787A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E787A#FFFFFF#000000##FFFFFF
##2E787A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737A
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e787a;
/* rgb */ color: rgb(46, 120, 122);
/* oklch */ color: oklch(52.8% 0.072 197.7);
Tailwind
colors: {
  custom: {
    50: '#709fa0',
    500: '#2e787a',
    950: '#000000',
  },
}
SCSS
$custom: #2e787a;
$custom-light: #709fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e787a",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.579,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.0722,
    "h": 197.7
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#2E787A
secondary
#AA5C5A
accent
#5653D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2E787A

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

Preview Lab → · Contrast checker → · Palette generator →

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