#2D787A#2D787A

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

Color values

HEX#2D787A
RGBrgb(45, 120, 122)
HSLhsl(182, 46%, 33%)
HSVhsv(182, 63%, 48%)
CMYKcmyk(63.1%, 1.6%, 0%, 52.2%)
CIE-LABlab(46.17, -22.05, -7.97)
CIE-LCHlch(46.17, 23.44, 199.87°)
OKLaboklab(52.76% -0.0694 -0.0221)
OKLCHoklch(52.76% 0.073 197.6)
XYZxyz(11.3100, 15.3948, 20.7840)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D787A #7A2F2D
analogous
#2D7A55 #2D787A #2D527A
triadic
#2D787A #7A2D78 #787A2D
tetradic
#2D787A #552D7A #7A2F2D #527A2D
square
#2D787A #552D7A #7A2F2D #527A2D
split-complementary
#2D787A #7A2D52 #7A552D
monochromatic
#0C2021 #1D4C4D #2D787A #3DA4A7 #5EC1C4

Accessibility & contrast

On white

5.15
#2D787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D787A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D787A#FFFFFF#000000##FFFFFF
##2D787A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.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: #2d787a;
/* rgb */ color: rgb(45, 120, 122);
/* oklch */ color: oklch(52.8% 0.073 197.6);
Tailwind
colors: {
  custom: {
    50: '#709fa0',
    500: '#2d787a',
    950: '#000000',
  },
}
SCSS
$custom: #2d787a;
$custom-light: #709fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d787a",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.558,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.07282,
    "h": 197.6
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#2D787A
secondary
#AA5B59
accent
#5552D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2D787A

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

Preview Lab → · Contrast checker → · Palette generator →

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