#2D797B#2D797B

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

Color values

HEX#2D797B
RGBrgb(45, 121, 123)
HSLhsl(182, 46%, 33%)
HSVhsv(182, 63%, 48%)
CMYKcmyk(63.4%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.53, -22.26, -8.03)
CIE-LCHlch(46.53, 23.67, 199.83°)
OKLaboklab(53.06% -0.0701 -0.0222)
OKLCHoklch(53.06% 0.074 197.6)
XYZxyz(11.4932, 15.6615, 21.1523)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D797B #7B2F2D
analogous
#2D7B56 #2D797B #2D527B
triadic
#2D797B #7B2D79 #797B2D
tetradic
#2D797B #562D7B #7B2F2D #527B2D
square
#2D797B #562D7B #7B2F2D #527B2D
split-complementary
#2D797B #7B2D52 #7B562D
monochromatic
#0C2121 #1D4D4E #2D797B #3DA5A8 #5EC2C4

Accessibility & contrast

On white

5.08
#2D797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2D797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D797B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D797B#FFFFFF#000000##FFFFFF
##2D797B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737B
Deuteranopia (green-blind)
#656A7B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d797b;
/* rgb */ color: rgb(45, 121, 123);
/* oklch */ color: oklch(53.1% 0.074 197.6);
Tailwind
colors: {
  custom: {
    50: '#70a0a1',
    500: '#2d797b',
    950: '#000000',
  },
}
SCSS
$custom: #2d797b;
$custom-light: #70a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d797b",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.538,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.07351,
    "h": 197.6
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D797B

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

Preview Lab → · Contrast checker → · Palette generator →

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