#1F7F82#1F7F82

#1F7F82 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.5% C 0.084 H 198.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F7F82
RGBrgb(31, 127, 130)
HSLhsl(182, 61%, 32%)
HSVhsv(182, 76%, 51%)
CMYKcmyk(76.2%, 2.3%, 0%, 49%)
CIE-LABlab(48.36, -25.32, -9.46)
CIE-LCHlch(48.36, 27.03, 200.48°)
OKLaboklab(54.53% -0.0802 -0.0263)
OKLCHoklch(54.53% 0.084 198.1)
XYZxyz(12.1819, 17.0803, 23.7696)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F82 #82221F
analogous
#1F8254 #1F7F82 #1F4E82
triadic
#1F7F82 #821F7F #7F821F
tetradic
#1F7F82 #541F82 #82221F #4E821F
square
#1F7F82 #541F82 #82221F #4E821F
split-complementary
#1F7F82 #821F4E #82541F
monochromatic
#071E1F #134F51 #1F7F82 #2BAFB3 #48CFD3

Accessibility & contrast

On white

4.76
#1F7F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1F7F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F82
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F82#FFFFFF#000000##FFFFFF
##1F7F821.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767982
Deuteranopia (green-blind)
#676E83
Tritanopia (blue-blind)
#008480
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f7f82;
/* rgb */ color: rgb(31, 127, 130);
/* oklch */ color: oklch(54.5% 0.084 198.1);
Tailwind
colors: {
  custom: {
    50: '#6da4a6',
    500: '#1f7f82',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f82;
$custom-light: #6da4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f82",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 130
  },
  "hsl": {
    "h": 181.818,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54528,
    "c": 0.08439,
    "h": 198.1
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#1F7F82
secondary
#B54B48
accent
#4843E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #1F7F82

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

Preview Lab → · Contrast checker → · Palette generator →

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