#1F8A8C#1F8A8C

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

Color values

HEX#1F8A8C
RGBrgb(31, 138, 140)
HSLhsl(181, 64%, 34%)
HSVhsv(181, 78%, 55%)
CMYKcmyk(77.9%, 1.4%, 0%, 45.1%)
CIE-LABlab(52.24, -27.69, -9.49)
CIE-LCHlch(52.24, 29.27, 198.92°)
OKLaboklab(57.79% -0.087 -0.0264)
OKLCHoklch(57.79% 0.091 196.9)
XYZxyz(14.3850, 20.3599, 27.9776)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A8C #8C211F
analogous
#1F8C57 #1F8A8C #1F538C
triadic
#1F8A8C #8C1F8A #8A8C1F
tetradic
#1F8A8C #571F8C #8C211F #538C1F
square
#1F8A8C #571F8C #8C211F #538C1F
split-complementary
#1F8A8C #8C1F53 #8C571F
monochromatic
#092728 #14595A #1F8A8C #2ABBBE #4ED5D8

Accessibility & contrast

On white

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

On black

5.07
#1F8A8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A8C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A8C#FFFFFF#000000##000000
##1F8A8C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80838C
Deuteranopia (green-blind)
#71788D
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8a8c;
/* rgb */ color: rgb(31, 138, 140);
/* oklch */ color: oklch(57.8% 0.091 196.9);
Tailwind
colors: {
  custom: {
    50: '#6facad',
    500: '#1f8a8c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a8c;
$custom-light: #6facad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a8c",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 140
  },
  "hsl": {
    "h": 181.101,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.09093,
    "h": 196.9
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#1F8A8C
secondary
#BB4E4C
accent
#4441E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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