#173F40#173F40

#173F40 is a dark, muted teal. Relative luminance 0.041; OKLCH L 34.0% C 0.045 H 197.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#173F40
RGBrgb(23, 63, 64)
HSLhsl(181, 47%, 17%)
HSVhsv(181, 64%, 25%)
CMYKcmyk(64.1%, 1.6%, 0%, 74.9%)
CIE-LABlab(24.02, -13.52, -4.84)
CIE-LCHlch(24.02, 14.36, 199.71°)
OKLaboklab(33.99% -0.0425 -0.0134)
OKLCHoklch(33.99% 0.045 197.5)
XYZxyz(3.0559, 4.1070, 5.4812)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F40 #401817
analogous
#17402D #173F40 #172B40
triadic
#173F40 #40173F #3F4017
tetradic
#173F40 #2D1740 #401817 #2B4017
square
#173F40 #2D1740 #401817 #2B4017
split-complementary
#173F40 #40172B #402D17
monochromatic
#081617 #081617 #173F40 #276B6D #37989A

Accessibility & contrast

On white

11.53
#173F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#173F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F40
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F40#FFFFFF#000000##FFFFFF
##173F401.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C40
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#00413F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #173f40;
/* rgb */ color: rgb(23, 63, 64);
/* oklch */ color: oklch(34.0% 0.045 197.5);
Tailwind
colors: {
  custom: {
    50: '#597474',
    500: '#173f40',
    950: '#000000',
  },
}
SCSS
$custom: #173f40;
$custom-light: #597474;
$custom-dark: #000000;
JSON
{
  "hex": "#173f40",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 64
  },
  "hsl": {
    "h": 181.463,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.04453,
    "h": 197.5
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#173F40
secondary
#773D3C
accent
#5451D7
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040808
muted
#797B7B

Preview Lab

Preview with #173F40

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

Preview Lab → · Contrast checker → · Palette generator →

#173F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva