#1F807D#1F807D

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

Color values

HEX#1F807D
RGBrgb(31, 128, 125)
HSLhsl(178, 61%, 31%)
HSVhsv(178, 76%, 50%)
CMYKcmyk(75.8%, 0%, 2.3%, 49.8%)
CIE-LABlab(48.52, -27.39, -6.27)
CIE-LCHlch(48.52, 28.10, 192.89°)
OKLaboklab(54.6% -0.0836 -0.0175)
OKLCHoklch(54.6% 0.085 191.8)
XYZxyz(11.9842, 17.2089, 22.0881)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F807D #801F22
analogous
#1F804C #1F807D #1F5280
triadic
#1F807D #7D1F80 #807D1F
tetradic
#1F807D #4C1F80 #801F22 #52801F
square
#1F807D #4C1F80 #801F22 #52801F
split-complementary
#1F807D #801F52 #804C1F
monochromatic
#071D1D #134F4D #1F807D #2BB1AD #47D2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F807D#FFFFFF#000000##FFFFFF
##1F807D1.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)
#78797D
Deuteranopia (green-blind)
#6A6F7E
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f807d;
/* rgb */ color: rgb(31, 128, 125);
/* oklch */ color: oklch(54.6% 0.085 191.8);
Tailwind
colors: {
  custom: {
    50: '#6ca5a2',
    500: '#1f807d',
    950: '#000000',
  },
}
SCSS
$custom: #1f807d;
$custom-light: #6ca5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f807d",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 125
  },
  "hsl": {
    "h": 178.144,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54604,
    "c": 0.08542,
    "h": 191.8
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#1F807D
secondary
#B3484B
accent
#4449E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F807D

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

Preview Lab → · Contrast checker → · Palette generator →

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