#1F797B#1F797B

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

Color values

HEX#1F797B
RGBrgb(31, 121, 123)
HSLhsl(181, 60%, 30%)
HSVhsv(181, 75%, 48%)
CMYKcmyk(74.8%, 1.6%, 0%, 51.8%)
CIE-LABlab(46.17, -24.49, -8.60)
CIE-LCHlch(46.17, 25.96, 199.34°)
OKLaboklab(52.67% -0.0771 -0.0239)
OKLCHoklch(52.67% 0.081 197.2)
XYZxyz(10.9760, 15.3948, 21.1281)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F797B #7B211F
analogous
#1F7B4F #1F797B #1F4B7B
triadic
#1F797B #7B1F79 #797B1F
tetradic
#1F797B #4F1F7B #7B211F #4B7B1F
square
#1F797B #4F1F7B #7B211F #4B7B1F
split-complementary
#1F797B #7B1F4B #7B4F1F
monochromatic
#061919 #13494A #1F797B #2BA9AC #44CDD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F797B#FFFFFF#000000##FFFFFF
##1F797B1.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)
#70737B
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f797b;
/* rgb */ color: rgb(31, 121, 123);
/* oklch */ color: oklch(52.7% 0.081 197.2);
Tailwind
colors: {
  custom: {
    50: '#6ba0a1',
    500: '#1f797b',
    950: '#000000',
  },
}
SCSS
$custom: #1f797b;
$custom-light: #6ba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f797b",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 181.304,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52673,
    "c": 0.0807,
    "h": 197.2
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#1F797B
secondary
#AE4A48
accent
#4845E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #1F797B

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

Preview Lab → · Contrast checker → · Palette generator →

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