#1F8A87#1F8A87

#1F8A87 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.6% C 0.091 H 192.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F8A87
RGBrgb(31, 138, 135)
HSLhsl(178, 63%, 33%)
HSVhsv(178, 78%, 54%)
CMYKcmyk(77.5%, 0%, 2.2%, 45.9%)
CIE-LABlab(52.08, -29.24, -6.83)
CIE-LCHlch(52.08, 30.02, 193.14°)
OKLaboklab(57.6% -0.0893 -0.019)
OKLCHoklch(57.6% 0.091 192)
XYZxyz(14.0247, 20.2158, 26.0799)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A87 #8A1F22
analogous
#1F8A51 #1F8A87 #1F578A
triadic
#1F8A87 #871F8A #8A871F
tetradic
#1F8A87 #511F8A #8A1F22 #578A1F
square
#1F8A87 #511F8A #8A1F22 #578A1F
split-complementary
#1F8A87 #8A1F57 #8A511F
monochromatic
#092625 #145856 #1F8A87 #2ABCB8 #4CD7D3

Accessibility & contrast

On white

4.16
#1F8A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#1F8A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A87
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A87#FFFFFF#000000##000000
##1F8A871.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#818387
Deuteranopia (green-blind)
#727888
Tritanopia (blue-blind)
#008E89
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8a87;
/* rgb */ color: rgb(31, 138, 135);
/* oklch */ color: oklch(57.6% 0.091 192.0);
Tailwind
colors: {
  custom: {
    50: '#6faca9',
    500: '#1f8a87',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a87;
$custom-light: #6faca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a87",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 135
  },
  "hsl": {
    "h": 178.318,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.09136,
    "h": 192
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#1F8A87
secondary
#BA4B4E
accent
#4146E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #1F8A87

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

Preview Lab → · Contrast checker → · Palette generator →

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