#1F7572#1F7572

#1F7572 is a mid, moderate teal. Relative luminance 0.142; OKLCH L 51.3% C 0.079 H 191.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F7572
RGBrgb(31, 117, 114)
HSLhsl(178, 58%, 29%)
HSVhsv(178, 74%, 46%)
CMYKcmyk(73.5%, 0%, 2.6%, 54.1%)
CIE-LABlab(44.56, -25.28, -5.64)
CIE-LCHlch(44.56, 25.90, 192.57°)
OKLaboklab(51.27% -0.077 -0.0157)
OKLCHoklch(51.27% 0.079 191.5)
XYZxyz(9.9622, 14.2276, 18.1375)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7572 #751F22
analogous
#1F7547 #1F7572 #1F4D75
triadic
#1F7572 #721F75 #75721F
tetradic
#1F7572 #471F75 #751F22 #4D751F
square
#1F7572 #471F75 #751F22 #4D751F
split-complementary
#1F7572 #751F4D #75471F
monochromatic
#061818 #124543 #1F7572 #2CA5A1 #42CDC8

Accessibility & contrast

On white

5.46
#1F7572 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1F7572 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7572
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7572#FFFFFF#000000##FFFFFF
##1F75721.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6F72
Deuteranopia (green-blind)
#616573
Tritanopia (blue-blind)
#007874
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f7572;
/* rgb */ color: rgb(31, 117, 114);
/* oklch */ color: oklch(51.3% 0.079 191.5);
Tailwind
colors: {
  custom: {
    50: '#6a9d9a',
    500: '#1f7572',
    950: '#000000',
  },
}
SCSS
$custom: #1f7572;
$custom-light: #6a9d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7572",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 114
  },
  "hsl": {
    "h": 177.907,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.07863,
    "h": 191.5
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#1F7572
secondary
#A9474B
accent
#464CE1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #1F7572

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

Preview Lab → · Contrast checker → · Palette generator →

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