#1F8873#1F8873

#1F8873 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.097 H 175.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#1F8873
RGBrgb(31, 136, 115)
HSLhsl(168, 63%, 33%)
HSVhsv(168, 77%, 53%)
CMYKcmyk(77.2%, 0%, 15.4%, 46.7%)
CIE-LABlab(50.85, -34.12, 3.00)
CIE-LCHlch(50.85, 34.25, 174.98°)
OKLaboklab(56.4% -0.097 0.0074)
OKLCHoklch(56.4% 0.097 175.6)
XYZxyz(12.4622, 19.1359, 19.2531)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8873 #881F34
analogous
#1F883E #1F8873 #1F6888
triadic
#1F8873 #731F88 #88731F
tetradic
#1F8873 #3E1F88 #881F34 #68881F
square
#1F8873 #3E1F88 #881F34 #68881F
split-complementary
#1F8873 #881F68 #883E1F
monochromatic
#08241F #145649 #1F8873 #2ABA9D #4BD6BA

Accessibility & contrast

On white

4.35
#1F8873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#1F8873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8873
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8873#FFFFFF#000000##000000
##1F88731.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F72
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8873;
/* rgb */ color: rgb(31, 136, 115);
/* oklch */ color: oklch(56.4% 0.097 175.6);
Tailwind
colors: {
  custom: {
    50: '#6dab9b',
    500: '#1f8873',
    950: '#000000',
  },
}
SCSS
$custom: #1f8873;
$custom-light: #6dab9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8873",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 115
  },
  "hsl": {
    "h": 168,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.09726,
    "h": 175.6
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#1F8873
secondary
#B94A60
accent
#4263E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8873

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

Preview Lab → · Contrast checker → · Palette generator →

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