#1F7977#1F7977

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

Color values

HEX#1F7977
RGBrgb(31, 121, 119)
HSLhsl(179, 59%, 30%)
HSVhsv(179, 74%, 47%)
CMYKcmyk(74.4%, 0%, 1.7%, 52.5%)
CIE-LABlab(46.04, -25.75, -6.42)
CIE-LCHlch(46.04, 26.54, 193.99°)
OKLaboklab(52.52% -0.079 -0.0179)
OKLCHoklch(52.52% 0.081 192.7)
XYZxyz(10.7307, 15.2967, 19.8362)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7977 #791F21
analogous
#1F794A #1F7977 #1F4E79
triadic
#1F7977 #771F79 #79771F
tetradic
#1F7977 #4A1F79 #791F21 #4E791F
square
#1F7977 #4A1F79 #791F21 #4E791F
split-complementary
#1F7977 #791F4E #794A1F
monochromatic
#061818 #134847 #1F7977 #2BAAA7 #43CFCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7977#FFFFFF#000000##FFFFFF
##1F79771.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)
#717377
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#007D78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7977;
/* rgb */ color: rgb(31, 121, 119);
/* oklch */ color: oklch(52.5% 0.081 192.7);
Tailwind
colors: {
  custom: {
    50: '#6ba09e',
    500: '#1f7977',
    950: '#000000',
  },
}
SCSS
$custom: #1f7977;
$custom-light: #6ba09e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7977",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 119
  },
  "hsl": {
    "h": 178.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.08098,
    "h": 192.7
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#1F7977
secondary
#AC474A
accent
#4549E2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7977

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

Preview Lab → · Contrast checker → · Palette generator →

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