#2D797F#2D797F

#2D797F is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.074 H 202.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D797F
RGBrgb(45, 121, 127)
HSLhsl(184, 48%, 34%)
HSVhsv(184, 65%, 50%)
CMYKcmyk(64.6%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.66, -21.03, -10.20)
CIE-LCHlch(46.66, 23.37, 205.87°)
OKLaboklab(53.22% -0.0682 -0.0282)
OKLCHoklch(53.22% 0.074 202.5)
XYZxyz(11.7487, 15.7637, 22.4981)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D797F #7F332D
analogous
#2D7F5C #2D797F #2D507F
triadic
#2D797F #7F2D79 #797F2D
tetradic
#2D797F #5C2D7F #7F332D #507F2D
square
#2D797F #5C2D7F #7F332D #507F2D
split-complementary
#2D797F #7F2D50 #7F5C2D
monochromatic
#0D2325 #1D4E52 #2D797F #3DA4AC #60BFC7

Accessibility & contrast

On white

5.06
#2D797F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2D797F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D797F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D797F#FFFFFF#000000##FFFFFF
##2D797F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#636B7F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d797f;
/* rgb */ color: rgb(45, 121, 127);
/* oklch */ color: oklch(53.2% 0.074 202.5);
Tailwind
colors: {
  custom: {
    50: '#71a0a4',
    500: '#2d797f',
    950: '#000000',
  },
}
SCSS
$custom: #2d797f;
$custom-light: #71a0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d797f",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 184.39,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.07385,
    "h": 202.5
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#2D797F
secondary
#AD615B
accent
#5A51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2D797F

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

Preview Lab → · Contrast checker → · Palette generator →

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