#1F8074#1F8074

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

Color values

HEX#1F8074
RGBrgb(31, 128, 116)
HSLhsl(173, 61%, 31%)
HSVhsv(173, 76%, 50%)
CMYKcmyk(75.8%, 0%, 9.4%, 49.8%)
CIE-LABlab(48.25, -30.09, -1.38)
CIE-LCHlch(48.25, 30.12, 182.62°)
OKLaboklab(54.29% -0.088 -0.0042)
OKLCHoklch(54.29% 0.088 182.7)
XYZxyz(11.4351, 16.9892, 19.1962)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8074 #801F2B
analogous
#1F8043 #1F8074 #1F5B80
triadic
#1F8074 #741F80 #80741F
tetradic
#1F8074 #431F80 #801F2B #5B801F
square
#1F8074 #431F80 #801F2B #5B801F
split-complementary
#1F8074 #801F5B #80431F
monochromatic
#071D1B #134F47 #1F8074 #2BB1A1 #47D2C1

Accessibility & contrast

On white

4.77
#1F8074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#1F8074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8074
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8074#FFFFFF#000000##FFFFFF
##1F80741.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7874
Deuteranopia (green-blind)
#6C6E75
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8074;
/* rgb */ color: rgb(31, 128, 116);
/* oklch */ color: oklch(54.3% 0.088 182.7);
Tailwind
colors: {
  custom: {
    50: '#6ba59c',
    500: '#1f8074',
    950: '#000000',
  },
}
SCSS
$custom: #1f8074;
$custom-light: #6ba59c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8074",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 116
  },
  "hsl": {
    "h": 172.577,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54288,
    "c": 0.08808,
    "h": 182.7
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#1F8074
secondary
#B34855
accent
#4458E4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8074

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

Preview Lab → · Contrast checker → · Palette generator →

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