#1F8A9C#1F8A9C

#1F8A9C is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.4% C 0.094 H 212.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F8A9C
RGBrgb(31, 138, 156)
HSLhsl(189, 67%, 37%)
HSVhsv(189, 80%, 61%)
CMYKcmyk(80.1%, 11.5%, 0%, 38.8%)
CIE-LABlab(52.80, -22.51, -17.92)
CIE-LCHlch(52.80, 28.77, 218.52°)
OKLaboklab(58.43% -0.0799 -0.05)
OKLCHoklch(58.43% 0.094 212)
XYZxyz(15.6517, 20.8666, 34.6488)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A9C #9C311F
analogous
#1F9C70 #1F8A9C #1F4C9C
triadic
#1F8A9C #9C1F8A #8A9C1F
tetradic
#1F8A9C #701F9C #9C311F #4C9C1F
square
#1F8A9C #701F9C #9C311F #4C9C1F
split-complementary
#1F8A9C #9C1F4C #9C701F
monochromatic
#0B3036 #155D69 #1F8A9C #29B7CF #58CADE

Accessibility & contrast

On white

4.06
#1F8A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#1F8A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A9C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A9C#FFFFFF#000000##000000
##1F8A9C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C859D
Deuteranopia (green-blind)
#6B799C
Tritanopia (blue-blind)
#009190
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8a9c;
/* rgb */ color: rgb(31, 138, 156);
/* oklch */ color: oklch(58.4% 0.094 212.0);
Tailwind
colors: {
  custom: {
    50: '#71acb9',
    500: '#1f8a9c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a9c;
$custom-light: #71acb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a9c",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 156
  },
  "hsl": {
    "h": 188.64,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.09425,
    "h": 212
  },
  "luminance": 0.20869
}

Semantic roles & 50–950 ramp

primary
#1F8A9C
secondary
#C16555
accent
#573EEA
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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