#1F8877#1F8877

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

Color values

HEX#1F8877
RGBrgb(31, 136, 119)
HSLhsl(170, 63%, 33%)
HSVhsv(170, 77%, 53%)
CMYKcmyk(77.2%, 0%, 12.5%, 46.7%)
CIE-LABlab(50.96, -33.00, 0.83)
CIE-LCHlch(50.96, 33.01, 178.57°)
OKLaboklab(56.53% -0.095 0.0017)
OKLCHoklch(56.53% 0.095 179)
XYZxyz(12.6973, 19.2300, 20.4917)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8877 #881F30
analogous
#1F8843 #1F8877 #1F6488
triadic
#1F8877 #771F88 #88771F
tetradic
#1F8877 #431F88 #881F30 #64881F
square
#1F8877 #431F88 #881F30 #64881F
split-complementary
#1F8877 #881F64 #88431F
monochromatic
#082420 #14564B #1F8877 #2ABAA3 #4BD6C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8877#FFFFFF#000000##000000
##1F88771.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)
#827F76
Deuteranopia (green-blind)
#747578
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8877;
/* rgb */ color: rgb(31, 136, 119);
/* oklch */ color: oklch(56.5% 0.095 179.0);
Tailwind
colors: {
  custom: {
    50: '#6dab9e',
    500: '#1f8877',
    950: '#000000',
  },
}
SCSS
$custom: #1f8877;
$custom-light: #6dab9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8877",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 119
  },
  "hsl": {
    "h": 170.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56528,
    "c": 0.095,
    "h": 179
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#1F8877
secondary
#B94A5C
accent
#425CE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8877

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

Preview Lab → · Contrast checker → · Palette generator →

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