#173B31#173B31

#173B31 is a dark, muted teal. Relative luminance 0.035; OKLCH L 32.2% C 0.046 H 172.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#173B31
RGBrgb(23, 59, 49)
HSLhsl(163, 44%, 16%)
HSVhsv(163, 61%, 23%)
CMYKcmyk(61%, 0%, 16.9%, 76.9%)
CIE-LABlab(22.06, -15.92, 2.29)
CIE-LCHlch(22.06, 16.08, 171.81°)
OKLaboklab(32.24% -0.0452 0.0058)
OKLCHoklch(32.24% 0.046 172.7)
XYZxyz(2.4714, 3.5316, 3.4566)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B31 #3B1721
analogous
#173B1F #173B31 #17333B
triadic
#173B31 #31173B #3B3117
tetradic
#173B31 #1F173B #3B1721 #333B17
square
#173B31 #1F173B #3B1721 #333B17
split-complementary
#173B31 #3B1733 #3B1F17
monochromatic
#091612 #091612 #173B31 #286756 #39937A

Accessibility & contrast

On white

12.31
#173B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#173B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B31
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B31#FFFFFF#000000##FFFFFF
##173B311.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393731
Deuteranopia (green-blind)
#343332
Tritanopia (blue-blind)
#063C38
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #173b31;
/* rgb */ color: rgb(23, 59, 49);
/* oklch */ color: oklch(32.2% 0.046 172.7);
Tailwind
colors: {
  custom: {
    50: '#587169',
    500: '#173b31',
    950: '#000000',
  },
}
SCSS
$custom: #173b31;
$custom-light: #587169;
$custom-dark: #000000;
JSON
{
  "hex": "#173b31",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 49
  },
  "hsl": {
    "h": 163.333,
    "s": 43.902,
    "l": 16.078
  },
  "oklch": {
    "l": 0.32235,
    "c": 0.04554,
    "h": 172.7
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#173B31
secondary
#723C4B
accent
#5478D4
background
#F5F6F6
surface
#E9ECEB
border
#C5C7C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #173B31

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

Preview Lab → · Contrast checker → · Palette generator →

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