#1F7974#1F7974

#1F7974 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.082 H 189.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1F7974
RGBrgb(31, 121, 116)
HSLhsl(177, 59%, 30%)
HSVhsv(177, 74%, 47%)
CMYKcmyk(74.4%, 0%, 4.1%, 52.5%)
CIE-LABlab(45.94, -26.67, -4.77)
CIE-LCHlch(45.94, 27.10, 190.15°)
OKLaboklab(52.41% -0.0804 -0.0134)
OKLCHoklch(52.41% 0.082 189.4)
XYZxyz(10.5534, 15.2258, 18.9023)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7974 #791F24
analogous
#1F7947 #1F7974 #1F5179
triadic
#1F7974 #741F79 #79741F
tetradic
#1F7974 #471F79 #791F24 #51791F
square
#1F7974 #471F79 #791F24 #51791F
split-complementary
#1F7974 #791F51 #79471F
monochromatic
#061817 #134845 #1F7974 #2BAAA3 #43CFC7

Accessibility & contrast

On white

5.19
#1F7974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1F7974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7974
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7974#FFFFFF#000000##FFFFFF
##1F79741.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727274
Deuteranopia (green-blind)
#656975
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7974;
/* rgb */ color: rgb(31, 121, 116);
/* oklch */ color: oklch(52.4% 0.082 189.4);
Tailwind
colors: {
  custom: {
    50: '#6aa09c',
    500: '#1f7974',
    950: '#000000',
  },
}
SCSS
$custom: #1f7974;
$custom-light: #6aa09c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7974",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 116
  },
  "hsl": {
    "h": 176.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.08154,
    "h": 189.4
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#1F7974
secondary
#AC474D
accent
#454EE2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7974

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

Preview Lab → · Contrast checker → · Palette generator →

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