#1A797B#1A797B

#1A797B is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.083 H 197.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1A797B
RGBrgb(26, 121, 123)
HSLhsl(181, 65%, 29%)
HSVhsv(181, 79%, 48%)
CMYKcmyk(78.9%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.07, -25.11, -8.75)
CIE-LCHlch(46.07, 26.59, 199.22°)
OKLaboklab(52.57% -0.079 -0.0243)
OKLCHoklch(52.57% 0.083 197.1)
XYZxyz(10.8369, 15.3231, 21.1216)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A797B #7B1C1A
analogous
#1A7B4D #1A797B #1A497B
triadic
#1A797B #7B1A79 #797B1A
tetradic
#1A797B #4D1A7B #7B1C1A #497B1A
square
#1A797B #4D1A7B #7B1C1A #497B1A
split-complementary
#1A797B #7B1A49 #7B4D1A
monochromatic
#051919 #0F4748 #1A797B #25ABAE #3AD2D5

Accessibility & contrast

On white

5.17
#1A797B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#1A797B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1A797B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A797B#FFFFFF#000000##FFFFFF
##1A797B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a797b;
/* rgb */ color: rgb(26, 121, 123);
/* oklch */ color: oklch(52.6% 0.083 197.1);
Tailwind
colors: {
  custom: {
    50: '#6aa0a1',
    500: '#1a797b',
    950: '#000000',
  },
}
SCSS
$custom: #1a797b;
$custom-light: #6aa0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a797b",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.237,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.08269,
    "h": 197.1
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#1A797B
secondary
#AF4442
accent
#4340E8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1A797B

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

Preview Lab → · Contrast checker → · Palette generator →

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