#1F8879#1F8879

#1F8879 is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.6% C 0.094 H 180.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F8879
RGBrgb(31, 136, 121)
HSLhsl(171, 63%, 33%)
HSVhsv(171, 77%, 53%)
CMYKcmyk(77.2%, 0%, 11%, 46.7%)
CIE-LABlab(51.01, -32.43, -0.26)
CIE-LCHlch(51.01, 32.43, 180.45°)
OKLaboklab(56.59% -0.094 -0.0012)
OKLCHoklch(56.59% 0.094 180.7)
XYZxyz(12.8187, 19.2785, 21.1310)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8879 #881F2E
analogous
#1F8845 #1F8879 #1F6288
triadic
#1F8879 #791F88 #88791F
tetradic
#1F8879 #451F88 #881F2E #62881F
square
#1F8879 #451F88 #881F2E #62881F
split-complementary
#1F8879 #881F62 #88451F
monochromatic
#082420 #14564D #1F8879 #2ABAA5 #4BD6C2

Accessibility & contrast

On white

4.32
#1F8879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#1F8879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8879
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8879#FFFFFF#000000##000000
##1F88791.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#828078
Deuteranopia (green-blind)
#74757A
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8879;
/* rgb */ color: rgb(31, 136, 121);
/* oklch */ color: oklch(56.6% 0.094 180.7);
Tailwind
colors: {
  custom: {
    50: '#6dab9f',
    500: '#1f8879',
    950: '#000000',
  },
}
SCSS
$custom: #1f8879;
$custom-light: #6dab9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8879",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 121
  },
  "hsl": {
    "h": 171.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56592,
    "c": 0.09402,
    "h": 180.7
  },
  "luminance": 0.1928
}

Semantic roles & 50–950 ramp

primary
#1F8879
secondary
#B94A5A
accent
#4259E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8879

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

Preview Lab → · Contrast checker → · Palette generator →

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