#2D797C#2D797C

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

Color values

HEX#2D797C
RGBrgb(45, 121, 124)
HSLhsl(182, 47%, 33%)
HSVhsv(182, 64%, 49%)
CMYKcmyk(63.7%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.56, -21.96, -8.57)
CIE-LCHlch(46.56, 23.57, 201.32°)
OKLaboklab(53.1% -0.0696 -0.0237)
OKLCHoklch(53.1% 0.074 198.8)
XYZxyz(11.5561, 15.6866, 21.4837)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D797C #7C302D
analogous
#2D7C57 #2D797C #2D517C
triadic
#2D797C #7C2D79 #797C2D
tetradic
#2D797C #572D7C #7C302D #517C2D
square
#2D797C #572D7C #7C302D #517C2D
split-complementary
#2D797C #7C2D51 #7C572D
monochromatic
#0C2122 #1D4D4F #2D797C #3DA5A9 #5FC1C5

Accessibility & contrast

On white

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

On black

4.14
#2D797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D797C#FFFFFF#000000##FFFFFF
##2D797C1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747C
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d797c;
/* rgb */ color: rgb(45, 121, 124);
/* oklch */ color: oklch(53.1% 0.074 198.8);
Tailwind
colors: {
  custom: {
    50: '#70a0a1',
    500: '#2d797c',
    950: '#000000',
  },
}
SCSS
$custom: #2d797c;
$custom-light: #70a0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d797c",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 182.278,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53102,
    "c": 0.07354,
    "h": 198.8
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#2D797C
secondary
#AB5D5A
accent
#5651D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2D797C

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

Preview Lab → · Contrast checker → · Palette generator →

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