#1F7E82#1F7E82

#1F7E82 is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.3% C 0.084 H 199.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#1F7E82
RGBrgb(31, 126, 130)
HSLhsl(182, 61%, 32%)
HSVhsv(182, 76%, 51%)
CMYKcmyk(76.2%, 3.1%, 0%, 49%)
CIE-LABlab(48.04, -24.82, -9.94)
CIE-LCHlch(48.04, 26.73, 201.84°)
OKLaboklab(54.26% -0.0791 -0.0276)
OKLCHoklch(54.26% 0.084 199.2)
XYZxyz(12.0534, 16.8233, 23.7267)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E82 #82231F
analogous
#1F8255 #1F7E82 #1F4D82
triadic
#1F7E82 #821F7E #7E821F
tetradic
#1F7E82 #551F82 #82231F #4D821F
square
#1F7E82 #551F82 #82231F #4D821F
split-complementary
#1F7E82 #821F4D #82551F
monochromatic
#071E1F #134E51 #1F7E82 #2BAEB3 #48CED3

Accessibility & contrast

On white

4.81
#1F7E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1F7E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E82
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E82#FFFFFF#000000##FFFFFF
##1F7E821.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747882
Deuteranopia (green-blind)
#666E82
Tritanopia (blue-blind)
#00837F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f7e82;
/* rgb */ color: rgb(31, 126, 130);
/* oklch */ color: oklch(54.3% 0.084 199.2);
Tailwind
colors: {
  custom: {
    50: '#6da4a6',
    500: '#1f7e82',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e82;
$custom-light: #6da4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e82",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 130
  },
  "hsl": {
    "h": 182.424,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54265,
    "c": 0.08382,
    "h": 199.2
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#1F7E82
secondary
#B54C48
accent
#4A43E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #1F7E82

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

Preview Lab → · Contrast checker → · Palette generator →

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