#2D787F#2D787F

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

Color values

HEX#2D787F
RGBrgb(45, 120, 127)
HSLhsl(185, 48%, 34%)
HSVhsv(185, 65%, 50%)
CMYKcmyk(64.6%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.34, -20.50, -10.68)
CIE-LCHlch(46.34, 23.12, 207.53°)
OKLaboklab(52.96% -0.0671 -0.0296)
OKLCHoklch(52.96% 0.073 203.8)
XYZxyz(11.6278, 15.5219, 22.4578)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D787F #7F342D
analogous
#2D7F5D #2D787F #2D4F7F
triadic
#2D787F #7F2D78 #787F2D
tetradic
#2D787F #5D2D7F #7F342D #4F7F2D
square
#2D787F #5D2D7F #7F342D #4F7F2D
split-complementary
#2D787F #7F2D4F #7F5D2D
monochromatic
#0D2325 #1D4D52 #2D787F #3DA3AC #60BEC7

Accessibility & contrast

On white

5.12
#2D787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2D787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D787F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D787F#FFFFFF#000000##FFFFFF
##2D787F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.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: #2d787f;
/* rgb */ color: rgb(45, 120, 127);
/* oklch */ color: oklch(53.0% 0.073 203.8);
Tailwind
colors: {
  custom: {
    50: '#719fa4',
    500: '#2d787f',
    950: '#000000',
  },
}
SCSS
$custom: #2d787f;
$custom-light: #719fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d787f",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 185.122,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.07333,
    "h": 203.8
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#2D787F
secondary
#AD625B
accent
#5C51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2D787F

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

Preview Lab → · Contrast checker → · Palette generator →

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