#2D787B#2D787B

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

Color values

HEX#2D787B
RGBrgb(45, 120, 123)
HSLhsl(182, 46%, 33%)
HSVhsv(182, 63%, 48%)
CMYKcmyk(63.4%, 2.4%, 0%, 51.8%)
CIE-LABlab(46.20, -21.74, -8.51)
CIE-LCHlch(46.20, 23.35, 201.38°)
OKLaboklab(52.8% -0.0689 -0.0236)
OKLCHoklch(52.8% 0.073 198.9)
XYZxyz(11.3723, 15.4197, 21.1120)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D787B #7B302D
analogous
#2D7B57 #2D787B #2D517B
triadic
#2D787B #7B2D78 #787B2D
tetradic
#2D787B #572D7B #7B302D #517B2D
square
#2D787B #572D7B #7B302D #517B2D
split-complementary
#2D787B #7B2D51 #7B572D
monochromatic
#0C2121 #1D4C4E #2D787B #3DA4A8 #5EC0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D787B#FFFFFF#000000##FFFFFF
##2D787B1.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)
#70737B
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d787b;
/* rgb */ color: rgb(45, 120, 123);
/* oklch */ color: oklch(52.8% 0.073 198.9);
Tailwind
colors: {
  custom: {
    50: '#709fa1',
    500: '#2d787b',
    950: '#000000',
  },
}
SCSS
$custom: #2d787b;
$custom-light: #709fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d787b",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.308,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.07284,
    "h": 198.9
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#2D787B
secondary
#AB5C59
accent
#5752D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2D787B

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

Preview Lab → · Contrast checker → · Palette generator →

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