#1F8787#1F8787

#1F8787 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.089 H 194.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F8787
RGBrgb(31, 135, 135)
HSLhsl(180, 63%, 33%)
HSVhsv(180, 77%, 53%)
CMYKcmyk(77%, 0%, 0%, 47.1%)
CIE-LABlab(51.11, -27.76, -8.27)
CIE-LCHlch(51.11, 28.97, 196.58°)
OKLaboklab(56.82% -0.0862 -0.023)
OKLCHoklch(56.82% 0.089 194.9)
XYZxyz(13.6002, 19.3669, 25.9384)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8787 #871F1F
analogous
#1F8753 #1F8787 #1F5387
triadic
#1F8787 #871F87 #87871F
tetradic
#1F8787 #531F87 #871F1F #53871F
square
#1F8787 #531F87 #871F1F #53871F
split-complementary
#1F8787 #871F53 #87531F
monochromatic
#082323 #145555 #1F8787 #2AB9B9 #4BD6D6

Accessibility & contrast

On white

4.31
#1F8787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#1F8787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8787
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8787#FFFFFF#000000##000000
##1F87871.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8087
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8787;
/* rgb */ color: rgb(31, 135, 135);
/* oklch */ color: oklch(56.8% 0.089 194.9);
Tailwind
colors: {
  custom: {
    50: '#6eaaa9',
    500: '#1f8787',
    950: '#000000',
  },
}
SCSS
$custom: #1f8787;
$custom-light: #6eaaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8787",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 180,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56817,
    "c": 0.08925,
    "h": 194.9
  },
  "luminance": 0.19369
}

Semantic roles & 50–950 ramp

primary
#1F8787
secondary
#B84A4A
accent
#4242E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #1F8787

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

Preview Lab → · Contrast checker → · Palette generator →

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