#2E787F#2E787F

#2E787F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 53.0% C 0.073 H 203.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2E787F
RGBrgb(46, 120, 127)
HSLhsl(185, 47%, 34%)
HSVhsv(185, 64%, 50%)
CMYKcmyk(63.8%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.37, -20.32, -10.63)
CIE-LCHlch(46.37, 22.93, 207.63°)
OKLaboklab(52.99% -0.0665 -0.0294)
OKLCHoklch(52.99% 0.073 203.9)
XYZxyz(11.6723, 15.5449, 22.4599)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E787F #7F352E
analogous
#2E7F5E #2E787F #2E507F
triadic
#2E787F #7F2E78 #787F2E
tetradic
#2E787F #5E2E7F #7F352E #507F2E
square
#2E787F #5E2E7F #7F352E #507F2E
split-complementary
#2E787F #7F2E50 #7F5E2E
monochromatic
#0D2325 #1E4E52 #2E787F #3EA2AC #61BDC6

Accessibility & contrast

On white

5.11
#2E787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2E787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E787F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E787F#FFFFFF#000000##FFFFFF
##2E787F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7380
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2e787f;
/* rgb */ color: rgb(46, 120, 127);
/* oklch */ color: oklch(53.0% 0.073 203.9);
Tailwind
colors: {
  custom: {
    50: '#719fa4',
    500: '#2e787f',
    950: '#000000',
  },
}
SCSS
$custom: #2e787f;
$custom-light: #719fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e787f",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 185.185,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.07273,
    "h": 203.9
  },
  "luminance": 0.15546
}

Semantic roles & 50–950 ramp

primary
#2E787F
secondary
#AD635C
accent
#5D51D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2E787F

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

Preview Lab → · Contrast checker → · Palette generator →

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