#1F878C#1F878C

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

Color values

HEX#1F878C
RGBrgb(31, 135, 140)
HSLhsl(183, 64%, 34%)
HSVhsv(183, 78%, 55%)
CMYKcmyk(77.9%, 3.6%, 0%, 45.1%)
CIE-LABlab(51.28, -26.19, -10.93)
CIE-LCHlch(51.28, 28.38, 202.66°)
OKLaboklab(57.01% -0.0839 -0.0304)
OKLCHoklch(57.01% 0.089 199.9)
XYZxyz(13.9605, 19.5110, 27.8361)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F878C #8C241F
analogous
#1F8C5A #1F878C #1F508C
triadic
#1F878C #8C1F87 #878C1F
tetradic
#1F878C #5A1F8C #8C241F #508C1F
square
#1F878C #5A1F8C #8C241F #508C1F
split-complementary
#1F878C #8C1F50 #8C5A1F
monochromatic
#092628 #14575A #1F878C #2AB7BE #4ED1D8

Accessibility & contrast

On white

4.28
#1F878C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1F878C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F878C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F878C#FFFFFF#000000##000000
##1F878C1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f878c;
/* rgb */ color: rgb(31, 135, 140);
/* oklch */ color: oklch(57.0% 0.089 199.9);
Tailwind
colors: {
  custom: {
    50: '#6faaad',
    500: '#1f878c',
    950: '#000000',
  },
}
SCSS
$custom: #1f878c;
$custom-light: #6faaad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f878c",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 140
  },
  "hsl": {
    "h": 182.752,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.08926,
    "h": 199.9
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#1F878C
secondary
#BB514C
accent
#4941E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #1F878C

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

Preview Lab → · Contrast checker → · Palette generator →

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