#1F807C#1F807C

#1F807C is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.6% C 0.086 H 190.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1F807C
RGBrgb(31, 128, 124)
HSLhsl(178, 61%, 31%)
HSVhsv(178, 76%, 50%)
CMYKcmyk(75.8%, 0%, 3.1%, 49.8%)
CIE-LABlab(48.49, -27.70, -5.73)
CIE-LCHlch(48.49, 28.28, 191.69°)
OKLaboklab(54.57% -0.0841 -0.016)
OKLCHoklch(54.57% 0.086 190.8)
XYZxyz(11.9206, 17.1834, 21.7533)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F807C #801F23
analogous
#1F804B #1F807C #1F5380
triadic
#1F807C #7C1F80 #807C1F
tetradic
#1F807C #4B1F80 #801F23 #53801F
square
#1F807C #4B1F80 #801F23 #53801F
split-complementary
#1F807C #801F53 #804B1F
monochromatic
#071D1D #134F4C #1F807C #2BB1AC #47D2CD

Accessibility & contrast

On white

4.73
#1F807C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#1F807C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F807C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F807C#FFFFFF#000000##FFFFFF
##1F807C1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78797C
Deuteranopia (green-blind)
#6A6F7D
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f807c;
/* rgb */ color: rgb(31, 128, 124);
/* oklch */ color: oklch(54.6% 0.086 190.8);
Tailwind
colors: {
  custom: {
    50: '#6ca5a1',
    500: '#1f807c',
    950: '#000000',
  },
}
SCSS
$custom: #1f807c;
$custom-light: #6ca5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f807c",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 124
  },
  "hsl": {
    "h": 177.526,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.0856,
    "h": 190.8
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#1F807C
secondary
#B3484C
accent
#444AE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F807C

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

Preview Lab → · Contrast checker → · Palette generator →

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