#1D797E#1D797E

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

Color values

HEX#1D797E
RGBrgb(29, 121, 126)
HSLhsl(183, 63%, 30%)
HSVhsv(183, 77%, 49%)
CMYKcmyk(77%, 4%, 0%, 50.6%)
CIE-LABlab(46.23, -23.78, -10.29)
CIE-LCHlch(46.23, 25.92, 203.40°)
OKLaboklab(52.75% -0.0765 -0.0286)
OKLCHoklch(52.75% 0.082 200.5)
XYZxyz(11.1083, 15.4410, 22.1296)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D797E #7E221D
analogous
#1D7E52 #1D797E #1D487E
triadic
#1D797E #7E1D79 #797E1D
tetradic
#1D797E #521D7E #7E221D #487E1D
square
#1D797E #521D7E #7E221D #487E1D
split-complementary
#1D797E #7E1D48 #7E521D
monochromatic
#06191B #12494C #1D797E #28A9B0 #42CCD3

Accessibility & contrast

On white

5.14
#1D797E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1D797E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D797E#FFFFFF#000000##FFFFFF
##1D797E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737E
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1d797e;
/* rgb */ color: rgb(29, 121, 126);
/* oklch */ color: oklch(52.7% 0.082 200.5);
Tailwind
colors: {
  custom: {
    50: '#6ba0a3',
    500: '#1d797e',
    950: '#000000',
  },
}
SCSS
$custom: #1d797e;
$custom-light: #6ba0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d797e",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 126
  },
  "hsl": {
    "h": 183.093,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52745,
    "c": 0.08167,
    "h": 200.5
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#1D797E
secondary
#B14B45
accent
#4B42E6
background
#F6F9FA
surface
#ECF2F3
border
#C7CCCD
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1D797E

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

Preview Lab → · Contrast checker → · Palette generator →

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