#1F8878#1F8878

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

Color values

HEX#1F8878
RGBrgb(31, 136, 120)
HSLhsl(171, 63%, 33%)
HSVhsv(171, 77%, 53%)
CMYKcmyk(77.2%, 0%, 11.8%, 46.7%)
CIE-LABlab(50.98, -32.72, 0.28)
CIE-LCHlch(50.98, 32.72, 179.50°)
OKLaboklab(56.56% -0.0945 0.0002)
OKLCHoklch(56.56% 0.095 179.9)
XYZxyz(12.7577, 19.2541, 20.8097)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8878 #881F2F
analogous
#1F8843 #1F8878 #1F6388
triadic
#1F8878 #781F88 #88781F
tetradic
#1F8878 #431F88 #881F2F #63881F
square
#1F8878 #431F88 #881F2F #63881F
split-complementary
#1F8878 #881F63 #88431F
monochromatic
#082420 #14564C #1F8878 #2ABAA4 #4BD6C1

Accessibility & contrast

On white

4.33
#1F8878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#1F8878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8878
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8878#FFFFFF#000000##000000
##1F88781.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F77
Deuteranopia (green-blind)
#747579
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8878;
/* rgb */ color: rgb(31, 136, 120);
/* oklch */ color: oklch(56.6% 0.095 179.9);
Tailwind
colors: {
  custom: {
    50: '#6dab9e',
    500: '#1f8878',
    950: '#000000',
  },
}
SCSS
$custom: #1f8878;
$custom-light: #6dab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8878",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 120
  },
  "hsl": {
    "h": 170.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.0945,
    "h": 179.9
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#1F8878
secondary
#B94A5B
accent
#425BE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8878

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

Preview Lab → · Contrast checker → · Palette generator →

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