#1F878A#1F878A

#1F878A is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.9% C 0.089 H 197.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F878A
RGBrgb(31, 135, 138)
HSLhsl(182, 63%, 33%)
HSVhsv(182, 78%, 54%)
CMYKcmyk(77.5%, 2.2%, 0%, 45.9%)
CIE-LABlab(51.21, -26.82, -9.87)
CIE-LCHlch(51.21, 28.58, 200.20°)
OKLaboklab(56.93% -0.0848 -0.0274)
OKLCHoklch(56.93% 0.089 197.9)
XYZxyz(13.8144, 19.4525, 27.0665)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F878A #8A221F
analogous
#1F8A57 #1F878A #1F518A
triadic
#1F878A #8A1F87 #878A1F
tetradic
#1F878A #571F8A #8A221F #518A1F
square
#1F878A #571F8A #8A221F #518A1F
split-complementary
#1F878A #8A1F51 #8A571F
monochromatic
#092526 #145658 #1F878A #2AB8BC #4CD3D7

Accessibility & contrast

On white

4.29
#1F878A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#1F878A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F878A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F878A#FFFFFF#000000##000000
##1F878A1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D808A
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f878a;
/* rgb */ color: rgb(31, 135, 138);
/* oklch */ color: oklch(56.9% 0.089 197.9);
Tailwind
colors: {
  custom: {
    50: '#6faaac',
    500: '#1f878a',
    950: '#000000',
  },
}
SCSS
$custom: #1f878a;
$custom-light: #6faaac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f878a",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 138
  },
  "hsl": {
    "h": 181.682,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.08917,
    "h": 197.9
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#1F878A
secondary
#BA4E4B
accent
#4641E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #1F878A

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

Preview Lab → · Contrast checker → · Palette generator →

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