#1F877C#1F877C

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

Color values

HEX#1F877C
RGBrgb(31, 135, 124)
HSLhsl(174, 63%, 33%)
HSVhsv(174, 77%, 53%)
CMYKcmyk(77%, 0%, 8.1%, 47.1%)
CIE-LABlab(50.77, -31.09, -2.36)
CIE-LCHlch(50.77, 31.18, 184.33°)
OKLaboklab(56.43% -0.0915 -0.0069)
OKLCHoklch(56.43% 0.092 184.3)
XYZxyz(12.8654, 19.0729, 22.0683)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F877C #871F2A
analogous
#1F8748 #1F877C #1F5E87
triadic
#1F877C #7C1F87 #877C1F
tetradic
#1F877C #481F87 #871F2A #5E871F
square
#1F877C #481F87 #871F2A #5E871F
split-complementary
#1F877C #871F5E #87481F
monochromatic
#082321 #14554E #1F877C #2AB9AA #4BD6C7

Accessibility & contrast

On white

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

On black

4.81
#1F877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F877C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F877C#FFFFFF#000000##000000
##1F877C1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#72757D
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f877c;
/* rgb */ color: rgb(31, 135, 124);
/* oklch */ color: oklch(56.4% 0.092 184.3);
Tailwind
colors: {
  custom: {
    50: '#6daaa1',
    500: '#1f877c',
    950: '#000000',
  },
}
SCSS
$custom: #1f877c;
$custom-light: #6daaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f877c",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 173.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56426,
    "c": 0.09175,
    "h": 184.3
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#1F877C
secondary
#B84A55
accent
#4253E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F877C

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

Preview Lab → · Contrast checker → · Palette generator →

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