#1F8A8D#1F8A8D

#1F8A8D is a mid, moderate teal. Relative luminance 0.204; OKLCH L 57.8% C 0.091 H 197.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F8A8D
RGBrgb(31, 138, 141)
HSLhsl(182, 64%, 34%)
HSVhsv(182, 78%, 55%)
CMYKcmyk(78%, 2.1%, 0%, 44.7%)
CIE-LABlab(52.27, -27.37, -10.02)
CIE-LCHlch(52.27, 29.15, 200.11°)
OKLaboklab(57.83% -0.0866 -0.0278)
OKLCHoklch(57.83% 0.091 197.8)
XYZxyz(14.4591, 20.3896, 28.3677)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A8D #8D221F
analogous
#1F8D59 #1F8A8D #1F538D
triadic
#1F8A8D #8D1F8A #8A8D1F
tetradic
#1F8A8D #591F8D #8D221F #538D1F
square
#1F8A8D #591F8D #8D221F #538D1F
split-complementary
#1F8A8D #8D1F53 #8D591F
monochromatic
#092829 #14595B #1F8A8D #2ABBBF #4ED4D8

Accessibility & contrast

On white

4.14
#1F8A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F8A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A8D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A8D#FFFFFF#000000##000000
##1F8A8D1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80838D
Deuteranopia (green-blind)
#70788E
Tritanopia (blue-blind)
#008F8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8a8d;
/* rgb */ color: rgb(31, 138, 141);
/* oklch */ color: oklch(57.8% 0.091 197.8);
Tailwind
colors: {
  custom: {
    50: '#70acae',
    500: '#1f8a8d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a8d;
$custom-light: #70acae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a8d",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 141
  },
  "hsl": {
    "h": 181.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.09093,
    "h": 197.8
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#1F8A8D
secondary
#BB504D
accent
#4541E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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