#1F8874#1F8874

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

Color values

HEX#1F8874
RGBrgb(31, 136, 116)
HSLhsl(169, 63%, 33%)
HSVhsv(169, 77%, 53%)
CMYKcmyk(77.2%, 0%, 14.7%, 46.7%)
CIE-LABlab(50.87, -33.84, 2.45)
CIE-LCHlch(50.87, 33.93, 175.85°)
OKLaboklab(56.43% -0.0965 0.006)
OKLCHoklch(56.43% 0.097 176.5)
XYZxyz(12.5200, 19.1591, 19.5578)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8874 #881F33
analogous
#1F883F #1F8874 #1F6888
triadic
#1F8874 #741F88 #88741F
tetradic
#1F8874 #3F1F88 #881F33 #68881F
square
#1F8874 #3F1F88 #881F33 #68881F
split-complementary
#1F8874 #881F68 #883F1F
monochromatic
#08241F #145649 #1F8874 #2ABA9F #4BD6BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8874#FFFFFF#000000##000000
##1F88741.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)
#837F73
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8874;
/* rgb */ color: rgb(31, 136, 116);
/* oklch */ color: oklch(56.4% 0.097 176.5);
Tailwind
colors: {
  custom: {
    50: '#6dab9c',
    500: '#1f8874',
    950: '#000000',
  },
}
SCSS
$custom: #1f8874;
$custom-light: #6dab9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8874",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 116
  },
  "hsl": {
    "h": 168.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.09667,
    "h": 176.5
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#1F8874
secondary
#B94A5F
accent
#4261E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8874

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

Preview Lab → · Contrast checker → · Palette generator →

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