#173A2A#173A2A

#173A2A is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.7% C 0.050 H 161.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#173A2A
RGBrgb(23, 58, 42)
HSLhsl(153, 43%, 16%)
HSVhsv(153, 60%, 23%)
CMYKcmyk(60.3%, 0%, 27.6%, 77.3%)
CIE-LABlab(21.49, -17.30, 6.16)
CIE-LCHlch(21.49, 18.36, 160.40°)
OKLaboklab(31.71% -0.0477 0.0158)
OKLCHoklch(31.71% 0.05 161.7)
XYZxyz(2.2841, 3.3752, 2.7212)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A2A #3A1727
analogous
#173A18 #173A2A #17383A
triadic
#173A2A #2A173A #3A2A17
tetradic
#173A2A #18173A #3A1727 #383A17
square
#173A2A #18173A #3A1727 #383A17
split-complementary
#173A2A #3A1738 #3A1817
monochromatic
#091610 #091610 #173A2A #28664A #3A9269

Accessibility & contrast

On white

12.54
#173A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#173A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A2A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A2A#FFFFFF#000000##FFFFFF
##173A2A1.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393629
Deuteranopia (green-blind)
#34322B
Tritanopia (blue-blind)
#0B3A36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #173a2a;
/* rgb */ color: rgb(23, 58, 42);
/* oklch */ color: oklch(31.7% 0.050 161.7);
Tailwind
colors: {
  custom: {
    50: '#577063',
    500: '#173a2a',
    950: '#000000',
  },
}
SCSS
$custom: #173a2a;
$custom-light: #577063;
$custom-dark: #000000;
JSON
{
  "hex": "#173a2a",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 152.571,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.05028,
    "h": 161.7
  },
  "luminance": 0.03375
}

Semantic roles & 50–950 ramp

primary
#173A2A
secondary
#713C54
accent
#558ED3
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #173A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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