#173F3F#173F3F

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

Color values

HEX#173F3F
RGBrgb(23, 63, 63)
HSLhsl(180, 47%, 17%)
HSVhsv(180, 63%, 25%)
CMYKcmyk(63.5%, 0%, 0%, 75.3%)
CIE-LABlab(23.99, -13.85, -4.23)
CIE-LCHlch(23.99, 14.48, 196.99°)
OKLaboklab(33.95% -0.043 -0.0117)
OKLCHoklch(33.95% 0.045 195.3)
XYZxyz(3.0277, 4.0958, 5.3327)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F3F #3F1717
analogous
#173F2B #173F3F #172B3F
triadic
#173F3F #3F173F #3F3F17
tetradic
#173F3F #2B173F #3F1717 #2B3F17
square
#173F3F #2B173F #3F1717 #2B3F17
split-complementary
#173F3F #3F172B #3F2B17
monochromatic
#081616 #081616 #173F3F #276C6C #389999

Accessibility & contrast

On white

11.54
#173F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F3F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F3F#FFFFFF#000000##FFFFFF
##173F3F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173f3f;
/* rgb */ color: rgb(23, 63, 63);
/* oklch */ color: oklch(34.0% 0.045 195.3);
Tailwind
colors: {
  custom: {
    50: '#597474',
    500: '#173f3f',
    950: '#000000',
  },
}
SCSS
$custom: #173f3f;
$custom-light: #597474;
$custom-dark: #000000;
JSON
{
  "hex": "#173f3f",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 63
  },
  "hsl": {
    "h": 180,
    "s": 46.512,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3395,
    "c": 0.04456,
    "h": 195.3
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#173F3F
secondary
#763C3C
accent
#5252D6
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040808
muted
#797B7B

Preview Lab

Preview with #173F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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