#1F7975#1F7975

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

Color values

HEX#1F7975
RGBrgb(31, 121, 117)
HSLhsl(177, 59%, 30%)
HSVhsv(177, 74%, 47%)
CMYKcmyk(74.4%, 0%, 3.3%, 52.5%)
CIE-LABlab(45.97, -26.37, -5.32)
CIE-LCHlch(45.97, 26.90, 191.41°)
OKLaboklab(52.45% -0.0799 -0.0149)
OKLCHoklch(52.45% 0.081 190.5)
XYZxyz(10.6118, 15.2491, 19.2103)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7975 #791F23
analogous
#1F7948 #1F7975 #1F5079
triadic
#1F7975 #751F79 #79751F
tetradic
#1F7975 #481F79 #791F23 #50791F
square
#1F7975 #481F79 #791F23 #50791F
split-complementary
#1F7975 #791F50 #79481F
monochromatic
#061818 #134846 #1F7975 #2BAAA4 #43CFC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7975#FFFFFF#000000##FFFFFF
##1F79751.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)
#727275
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7975;
/* rgb */ color: rgb(31, 121, 117);
/* oklch */ color: oklch(52.4% 0.081 190.5);
Tailwind
colors: {
  custom: {
    50: '#6aa09c',
    500: '#1f7975',
    950: '#000000',
  },
}
SCSS
$custom: #1f7975;
$custom-light: #6aa09c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7975",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 117
  },
  "hsl": {
    "h": 177.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52448,
    "c": 0.08132,
    "h": 190.5
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#1F7975
secondary
#AC474C
accent
#454CE2
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7975

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

Preview Lab → · Contrast checker → · Palette generator →

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