#1F877D#1F877D

#1F877D is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.5% C 0.091 H 185.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F877D
RGBrgb(31, 135, 125)
HSLhsl(174, 63%, 33%)
HSVhsv(174, 77%, 53%)
CMYKcmyk(77%, 0%, 7.4%, 47.1%)
CIE-LABlab(50.80, -30.79, -2.90)
CIE-LCHlch(50.80, 30.93, 185.37°)
OKLaboklab(56.46% -0.091 -0.0083)
OKLCHoklch(56.46% 0.091 185.2)
XYZxyz(12.9289, 19.0983, 22.4030)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F877D #871F29
analogous
#1F8749 #1F877D #1F5D87
triadic
#1F877D #7D1F87 #877D1F
tetradic
#1F877D #491F87 #871F29 #5D871F
square
#1F877D #491F87 #871F29 #5D871F
split-complementary
#1F877D #871F5D #87491F
monochromatic
#082321 #14554F #1F877D #2AB9AB #4BD6C8

Accessibility & contrast

On white

4.36
#1F877D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#1F877D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F877D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F877D#FFFFFF#000000##000000
##1F877D1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7D
Deuteranopia (green-blind)
#72757E
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f877d;
/* rgb */ color: rgb(31, 135, 125);
/* oklch */ color: oklch(56.5% 0.091 185.2);
Tailwind
colors: {
  custom: {
    50: '#6daaa2',
    500: '#1f877d',
    950: '#000000',
  },
}
SCSS
$custom: #1f877d;
$custom-light: #6daaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f877d",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 125
  },
  "hsl": {
    "h": 174.231,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5646,
    "c": 0.09138,
    "h": 185.2
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#1F877D
secondary
#B84A54
accent
#4252E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F877D

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

Preview Lab → · Contrast checker → · Palette generator →

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