#1F8987#1F8987

#1F8987 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.3% C 0.091 H 193.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F8987
RGBrgb(31, 137, 135)
HSLhsl(179, 63%, 33%)
HSVhsv(179, 77%, 54%)
CMYKcmyk(77.4%, 0%, 1.5%, 46.3%)
CIE-LABlab(51.76, -28.75, -7.31)
CIE-LCHlch(51.76, 29.66, 194.26°)
OKLaboklab(57.34% -0.0883 -0.0204)
OKLCHoklch(57.34% 0.091 193)
XYZxyz(13.8819, 19.9302, 26.0323)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8987 #891F21
analogous
#1F8952 #1F8987 #1F5689
triadic
#1F8987 #871F89 #89871F
tetradic
#1F8987 #521F89 #891F21 #56891F
square
#1F8987 #521F89 #891F21 #56891F
split-complementary
#1F8987 #891F56 #89521F
monochromatic
#082525 #145756 #1F8987 #2ABBB8 #4CD6D4

Accessibility & contrast

On white

4.21
#1F8987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1F8987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8987
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8987#FFFFFF#000000##000000
##1F89871.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#808287
Deuteranopia (green-blind)
#717788
Tritanopia (blue-blind)
#008D88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8987;
/* rgb */ color: rgb(31, 137, 135);
/* oklch */ color: oklch(57.3% 0.091 193.0);
Tailwind
colors: {
  custom: {
    50: '#6faca9',
    500: '#1f8987',
    950: '#000000',
  },
}
SCSS
$custom: #1f8987;
$custom-light: #6faca9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8987",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 135
  },
  "hsl": {
    "h": 178.868,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.09064,
    "h": 193
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#1F8987
secondary
#B94B4D
accent
#4245E6
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#081010
muted
#7B7F7F

Preview Lab

Preview with #1F8987

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

Preview Lab → · Contrast checker → · Palette generator →

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