#2D797E#2D797E

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

Color values

HEX#2D797E
RGBrgb(45, 121, 126)
HSLhsl(184, 47%, 34%)
HSVhsv(184, 64%, 49%)
CMYKcmyk(64.3%, 4%, 0%, 50.6%)
CIE-LABlab(46.63, -21.34, -9.66)
CIE-LCHlch(46.63, 23.42, 204.35°)
OKLaboklab(53.18% -0.0687 -0.0267)
OKLCHoklch(53.18% 0.074 201.3)
XYZxyz(11.6838, 15.7377, 22.1566)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D797E #7E322D
analogous
#2D7E5A #2D797E #2D507E
triadic
#2D797E #7E2D79 #797E2D
tetradic
#2D797E #5A2D7E #7E322D #507E2D
square
#2D797E #5A2D7E #7E322D #507E2D
split-complementary
#2D797E #7E2D50 #7E5A2D
monochromatic
#0D2224 #1D4E51 #2D797E #3DA4AB #5FC0C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D797E#FFFFFF#000000##FFFFFF
##2D797E1.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)
#70747E
Deuteranopia (green-blind)
#646B7E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d797e;
/* rgb */ color: rgb(45, 121, 126);
/* oklch */ color: oklch(53.2% 0.074 201.3);
Tailwind
colors: {
  custom: {
    50: '#71a0a3',
    500: '#2d797e',
    950: '#000000',
  },
}
SCSS
$custom: #2d797e;
$custom-light: #71a0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d797e",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.704,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53179,
    "c": 0.07371,
    "h": 201.3
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#2D797E
secondary
#AC5F5A
accent
#5951D7
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2D797E

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

Preview Lab → · Contrast checker → · Palette generator →

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