#173F5C#173F5C

#173F5C is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.4% C 0.067 H 243.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#173F5C
RGBrgb(23, 63, 92)
HSLhsl(205, 60%, 23%)
HSVhsv(205, 75%, 36%)
CMYKcmyk(75%, 31.5%, 0%, 63.9%)
CIE-LABlab(25.29, -3.16, -21.33)
CIE-LCHlch(25.29, 21.57, 261.58°)
OKLaboklab(35.42% -0.0301 -0.0603)
OKLCHoklch(35.42% 0.067 243.4)
XYZxyz(4.0619, 4.5094, 10.7795)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F5C #5C3417
analogous
#175C56 #173F5C #171D5C
triadic
#173F5C #5C173F #3F5C17
tetradic
#173F5C #56175C #5C3417 #1D5C17
square
#173F5C #56175C #5C3417 #1D5C17
split-complementary
#173F5C #5C171D #5C5617
monochromatic
#061118 #0B1D2B #173F5C #23618D #2F82BE

Accessibility & contrast

On white

11.04
#173F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#173F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F5C
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F5C#FFFFFF#000000##FFFFFF
##173F5C1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405D
Deuteranopia (green-blind)
#28395B
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173f5c;
/* rgb */ color: rgb(23, 63, 92);
/* oklch */ color: oklch(35.4% 0.067 243.4);
Tailwind
colors: {
  custom: {
    50: '#5e738a',
    500: '#173f5c',
    950: '#000000',
  },
}
SCSS
$custom: #173f5c;
$custom-light: #5e738a;
$custom-dark: #000000;
JSON
{
  "hex": "#173f5c",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 92
  },
  "hsl": {
    "h": 205.217,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.35422,
    "c": 0.0674,
    "h": 243.4
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#173F5C
secondary
#93603C
accent
#8745E3
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #173F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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