#1F878E#1F878E

#1F878E is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.089 H 201.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F878E
RGBrgb(31, 135, 142)
HSLhsl(184, 64%, 34%)
HSVhsv(184, 78%, 56%)
CMYKcmyk(78.2%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.35, -25.55, -12.00)
CIE-LCHlch(51.35, 28.23, 205.15°)
OKLaboklab(57.08% -0.083 -0.0333)
OKLCHoklch(57.08% 0.089 201.9)
XYZxyz(14.1093, 19.5705, 28.6198)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F878E #8E261F
analogous
#1F8E5E #1F878E #1F508E
triadic
#1F878E #8E1F87 #878E1F
tetradic
#1F878E #5E1F8E #8E261F #508E1F
square
#1F878E #5E1F8E #8E261F #508E1F
split-complementary
#1F878E #8E1F50 #8E5E1F
monochromatic
#09272A #14575C #1F878E #2AB7C0 #4FD0D9

Accessibility & contrast

On white

4.27
#1F878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#1F878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F878E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F878E#FFFFFF#000000##000000
##1F878E1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818F
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#008D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f878e;
/* rgb */ color: rgb(31, 135, 142);
/* oklch */ color: oklch(57.1% 0.089 201.9);
Tailwind
colors: {
  custom: {
    50: '#6faaaf',
    500: '#1f878e',
    950: '#000000',
  },
}
SCSS
$custom: #1f878e;
$custom-light: #6faaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f878e",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 183.784,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.08947,
    "h": 201.9
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#1F878E
secondary
#BB544D
accent
#4B41E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F878E

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

Preview Lab → · Contrast checker → · Palette generator →

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