#1A797F#1A797F

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

Color values

HEX#1A797F
RGBrgb(26, 121, 127)
HSLhsl(184, 66%, 30%)
HSVhsv(184, 80%, 50%)
CMYKcmyk(79.5%, 4.7%, 0%, 50.2%)
CIE-LABlab(46.21, -23.81, -10.92)
CIE-LCHlch(46.21, 26.20, 204.65°)
OKLaboklab(52.72% -0.0772 -0.0304)
OKLCHoklch(52.72% 0.083 201.5)
XYZxyz(11.0924, 15.4253, 22.4673)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A797F #7F201A
analogous
#1A7F52 #1A797F #1A477F
triadic
#1A797F #7F1A79 #797F1A
tetradic
#1A797F #521A7F #7F201A #477F1A
square
#1A797F #521A7F #7F201A #477F1A
split-complementary
#1A797F #7F1A47 #7F521A
monochromatic
#051819 #10494C #1A797F #24A9B2 #3CCED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A797F#FFFFFF#000000##FFFFFF
##1A797F1.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)
#6F737F
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1a797f;
/* rgb */ color: rgb(26, 121, 127);
/* oklch */ color: oklch(52.7% 0.083 201.5);
Tailwind
colors: {
  custom: {
    50: '#6aa0a4',
    500: '#1a797f',
    950: '#000000',
  },
}
SCSS
$custom: #1a797f;
$custom-light: #6aa0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a797f",
  "rgb": {
    "r": 26,
    "g": 121,
    "b": 127
  },
  "hsl": {
    "h": 183.564,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.08292,
    "h": 201.5
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#1A797F
secondary
#B34942
accent
#493FE9
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080E0F
muted
#7A7E7F

Preview Lab

Preview with #1A797F

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

Preview Lab → · Contrast checker → · Palette generator →

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