#1F797A#1F797A

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

Color values

HEX#1F797A
RGBrgb(31, 121, 122)
HSLhsl(181, 59%, 30%)
HSVhsv(181, 75%, 48%)
CMYKcmyk(74.6%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.14, -24.81, -8.05)
CIE-LCHlch(46.14, 26.08, 197.99°)
OKLaboklab(52.63% -0.0776 -0.0224)
OKLCHoklch(52.63% 0.081 196.1)
XYZxyz(10.9137, 15.3699, 20.8001)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F797A #7A201F
analogous
#1F7A4D #1F797A #1F4C7A
triadic
#1F797A #7A1F79 #797A1F
tetradic
#1F797A #4D1F7A #7A201F #4C7A1F
square
#1F797A #4D1F7A #7A201F #4C7A1F
split-complementary
#1F797A #7A1F4C #7A4D1F
monochromatic
#061818 #134949 #1F797A #2BA9AB #44CECF

Accessibility & contrast

On white

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

On black

4.07
#1F797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F797A#FFFFFF#000000##FFFFFF
##1F797A1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f797a;
/* rgb */ color: rgb(31, 121, 122);
/* oklch */ color: oklch(52.6% 0.081 196.1);
Tailwind
colors: {
  custom: {
    50: '#6ba0a0',
    500: '#1f797a',
    950: '#000000',
  },
}
SCSS
$custom: #1f797a;
$custom-light: #6ba0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f797a",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.659,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.08072,
    "h": 196.1
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#1F797A
secondary
#AD4947
accent
#4745E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #1F797A

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

Preview Lab → · Contrast checker → · Palette generator →

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