#173F4F#173F4F

#173F4F is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.052 H 227.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#173F4F
RGBrgb(23, 63, 79)
HSLhsl(197, 55%, 20%)
HSVhsv(197, 71%, 31%)
CMYKcmyk(70.9%, 20.3%, 0%, 69%)
CIE-LABlab(24.64, -8.18, -13.83)
CIE-LCHlch(24.64, 16.07, 239.38°)
OKLaboklab(34.7% -0.0353 -0.0386)
OKLCHoklch(34.7% 0.052 227.6)
XYZxyz(3.5416, 4.3013, 8.0392)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F4F #4F2717
analogous
#174F43 #173F4F #17234F
triadic
#173F4F #4F173F #3F4F17
tetradic
#173F4F #43174F #4F2717 #234F17
square
#173F4F #43174F #4F2717 #234F17
split-complementary
#173F4F #4F1723 #4F4317
monochromatic
#071318 #091920 #173F4F #25657E #338BAE

Accessibility & contrast

On white

11.29
#173F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F4F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F4F#FFFFFF#000000##FFFFFF
##173F4F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E50
Deuteranopia (green-blind)
#2F384F
Tritanopia (blue-blind)
#004444
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173f4f;
/* rgb */ color: rgb(23, 63, 79);
/* oklch */ color: oklch(34.7% 0.052 227.6);
Tailwind
colors: {
  custom: {
    50: '#5b7480',
    500: '#173f4f',
    950: '#000000',
  },
}
SCSS
$custom: #173f4f;
$custom-light: #5b7480;
$custom-dark: #000000;
JSON
{
  "hex": "#173f4f",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 79
  },
  "hsl": {
    "h": 197.143,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.34697,
    "c": 0.05234,
    "h": 227.6
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#173F4F
secondary
#86513C
accent
#744ADE
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #173F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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