#1F8174#1F8174

#1F8174 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.089 H 181.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8174
RGBrgb(31, 129, 116)
HSLhsl(172, 61%, 31%)
HSVhsv(172, 76%, 51%)
CMYKcmyk(76%, 0%, 10.1%, 49.4%)
CIE-LABlab(48.58, -30.57, -0.89)
CIE-LCHlch(48.58, 30.58, 181.68°)
OKLaboklab(54.56% -0.089 -0.0029)
OKLCHoklch(54.56% 0.089 181.9)
XYZxyz(11.5662, 17.2514, 19.2399)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8174 #811F2C
analogous
#1F8143 #1F8174 #1F5D81
triadic
#1F8174 #741F81 #81741F
tetradic
#1F8174 #431F81 #811F2C #5D811F
square
#1F8174 #431F81 #811F2C #5D811F
split-complementary
#1F8174 #811F5D #81431F
monochromatic
#071E1B #135048 #1F8174 #2BB2A0 #47D3C0

Accessibility & contrast

On white

4.72
#1F8174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#1F8174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8174
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8174#FFFFFF#000000##FFFFFF
##1F81741.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7974
Deuteranopia (green-blind)
#6D6F75
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8174;
/* rgb */ color: rgb(31, 129, 116);
/* oklch */ color: oklch(54.6% 0.089 181.9);
Tailwind
colors: {
  custom: {
    50: '#6ca69c',
    500: '#1f8174',
    950: '#000000',
  },
}
SCSS
$custom: #1f8174;
$custom-light: #6ca69c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8174",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 116
  },
  "hsl": {
    "h": 172.041,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.0891,
    "h": 181.9
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#1F8174
secondary
#B44856
accent
#4359E4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8174

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

Preview Lab → · Contrast checker → · Palette generator →

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