#1F8073#1F8073

#1F8073 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.3% C 0.089 H 181.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8073
RGBrgb(31, 128, 115)
HSLhsl(172, 61%, 31%)
HSVhsv(172, 76%, 50%)
CMYKcmyk(75.8%, 0%, 10.2%, 49.8%)
CIE-LABlab(48.22, -30.38, -0.83)
CIE-LCHlch(48.22, 30.39, 181.56°)
OKLaboklab(54.26% -0.0885 -0.0027)
OKLCHoklch(54.26% 0.089 181.8)
XYZxyz(11.3772, 16.9661, 18.8915)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8073 #801F2C
analogous
#1F8042 #1F8073 #1F5C80
triadic
#1F8073 #731F80 #80731F
tetradic
#1F8073 #421F80 #801F2C #5C801F
square
#1F8073 #421F80 #801F2C #5C801F
split-complementary
#1F8073 #801F5C #80421F
monochromatic
#071D1A #134F47 #1F8073 #2BB19F #47D2C0

Accessibility & contrast

On white

4.78
#1F8073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#1F8073 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8073
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8073#FFFFFF#000000##FFFFFF
##1F80731.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7873
Deuteranopia (green-blind)
#6D6E74
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8073;
/* rgb */ color: rgb(31, 128, 115);
/* oklch */ color: oklch(54.3% 0.089 181.8);
Tailwind
colors: {
  custom: {
    50: '#6ba59b',
    500: '#1f8073',
    950: '#000000',
  },
}
SCSS
$custom: #1f8073;
$custom-light: #6ba59b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8073",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 115
  },
  "hsl": {
    "h": 171.959,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.08851,
    "h": 181.8
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#1F8073
secondary
#B34856
accent
#4459E4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8073

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

Preview Lab → · Contrast checker → · Palette generator →

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