#1D797C#1D797C

#1D797C is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.082 H 198.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1D797C
RGBrgb(29, 121, 124)
HSLhsl(182, 62%, 30%)
HSVhsv(182, 77%, 49%)
CMYKcmyk(76.6%, 2.4%, 0%, 51.4%)
CIE-LABlab(46.16, -24.43, -9.21)
CIE-LCHlch(46.16, 26.11, 200.65°)
OKLaboklab(52.67% -0.0774 -0.0256)
OKLCHoklch(52.67% 0.082 198.3)
XYZxyz(10.9805, 15.3899, 21.4567)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D797C #7C201D
analogous
#1D7C50 #1D797C #1D497C
triadic
#1D797C #7C1D79 #797C1D
tetradic
#1D797C #501D7C #7C201D #497C1D
square
#1D797C #501D7C #7C201D #497C1D
split-complementary
#1D797C #7C1D49 #7C501D
monochromatic
#061819 #11494A #1D797C #29A9AE #41CED3

Accessibility & contrast

On white

5.15
#1D797C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1D797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D797C#FFFFFF#000000##FFFFFF
##1D797C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737C
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1d797c;
/* rgb */ color: rgb(29, 121, 124);
/* oklch */ color: oklch(52.7% 0.082 198.3);
Tailwind
colors: {
  custom: {
    50: '#6ba0a1',
    500: '#1d797c',
    950: '#000000',
  },
}
SCSS
$custom: #1d797c;
$custom-light: #6ba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d797c",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 181.895,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.08155,
    "h": 198.3
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#1D797C
secondary
#B04945
accent
#4843E5
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0F
muted
#7A7E7E

Preview Lab

Preview with #1D797C

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

Preview Lab → · Contrast checker → · Palette generator →

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