#173D56#173D56

#173D56 is a dark, moderate cyan. Relative luminance 0.042; OKLCH L 34.5% C 0.061 H 240.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#173D56
RGBrgb(23, 61, 86)
HSLhsl(204, 58%, 21%)
HSVhsv(204, 73%, 34%)
CMYKcmyk(73.3%, 29.1%, 0%, 66.3%)
CIE-LABlab(24.29, -4.20, -18.97)
CIE-LCHlch(24.29, 19.43, 257.51°)
OKLaboklab(34.53% -0.03 -0.0534)
OKLCHoklch(34.53% 0.061 240.7)
XYZxyz(3.7012, 4.1911, 9.4162)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D56 #563017
analogous
#175650 #173D56 #171E56
triadic
#173D56 #56173D #3D5617
tetradic
#173D56 #501756 #563017 #1E5617
square
#173D56 #501756 #563017 #1E5617
split-complementary
#173D56 #56171E #565017
monochromatic
#061118 #0A1B26 #173D56 #245F86 #3181B7

Accessibility & contrast

On white

11.42
#173D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#173D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D56
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D56#FFFFFF#000000##FFFFFF
##173D561.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D57
Deuteranopia (green-blind)
#293756
Tritanopia (blue-blind)
#004346
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173d56;
/* rgb */ color: rgb(23, 61, 86);
/* oklch */ color: oklch(34.5% 0.061 240.7);
Tailwind
colors: {
  custom: {
    50: '#5d7285',
    500: '#173d56',
    950: '#000000',
  },
}
SCSS
$custom: #173d56;
$custom-light: #5d7285;
$custom-dark: #000000;
JSON
{
  "hex": "#173d56",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 86
  },
  "hsl": {
    "h": 203.81,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.06131,
    "h": 240.7
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#173D56
secondary
#8D5C3C
accent
#8447E1
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #173D56

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

Preview Lab → · Contrast checker → · Palette generator →

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