#173D5A#173D5A

#173D5A is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.067 H 244.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#173D5A
RGBrgb(23, 61, 90)
HSLhsl(206, 59%, 22%)
HSVhsv(206, 74%, 35%)
CMYKcmyk(74.4%, 32.2%, 0%, 64.7%)
CIE-LABlab(24.50, -2.62, -21.26)
CIE-LCHlch(24.50, 21.42, 262.97°)
OKLaboklab(34.77% -0.0286 -0.0601)
OKLCHoklch(34.77% 0.067 244.6)
XYZxyz(3.8669, 4.2574, 10.2888)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D5A #5A3417
analogous
#175A56 #173D5A #171C5A
triadic
#173D5A #5A173D #3D5A17
tetradic
#173D5A #56175A #5A3417 #1C5A17
square
#173D5A #56175A #5A3417 #1C5A17
split-complementary
#173D5A #5A171C #5A5617
monochromatic
#061118 #0B1C29 #173D5A #235E8B #307FBB

Accessibility & contrast

On white

11.34
#173D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D5A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D5A#FFFFFF#000000##FFFFFF
##173D5A1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303E5B
Deuteranopia (green-blind)
#273759
Tritanopia (blue-blind)
#004447
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173d5a;
/* rgb */ color: rgb(23, 61, 90);
/* oklch */ color: oklch(34.8% 0.067 244.6);
Tailwind
colors: {
  custom: {
    50: '#5d7289',
    500: '#173d5a',
    950: '#000000',
  },
}
SCSS
$custom: #173d5a;
$custom-light: #5d7289;
$custom-dark: #000000;
JSON
{
  "hex": "#173d5a",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 90
  },
  "hsl": {
    "h": 205.97,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.06653,
    "h": 244.6
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#173D5A
secondary
#91613C
accent
#8945E2
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #173D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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