#173F5A#173F5A

#173F5A is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.3% C 0.065 H 241.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#173F5A
RGBrgb(23, 63, 90)
HSLhsl(204, 59%, 22%)
HSVhsv(204, 74%, 35%)
CMYKcmyk(74.4%, 30%, 0%, 64.7%)
CIE-LABlab(25.18, -3.95, -20.20)
CIE-LCHlch(25.18, 20.58, 258.93°)
OKLaboklab(35.3% -0.0309 -0.057)
OKLCHoklch(35.3% 0.065 241.6)
XYZxyz(3.9756, 4.4749, 10.3251)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F5A #5A3217
analogous
#175A54 #173F5A #171E5A
triadic
#173F5A #5A173F #3F5A17
tetradic
#173F5A #54175A #5A3217 #1E5A17
square
#173F5A #54175A #5A3217 #1E5A17
split-complementary
#173F5A #5A171E #5A5417
monochromatic
#061118 #0B1D29 #173F5A #23618B #3083BB

Accessibility & contrast

On white

11.08
#173F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F5A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F5A#FFFFFF#000000##FFFFFF
##173F5A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F5B
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#004648
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173f5a;
/* rgb */ color: rgb(23, 63, 90);
/* oklch */ color: oklch(35.3% 0.065 241.6);
Tailwind
colors: {
  custom: {
    50: '#5d7388',
    500: '#173f5a',
    950: '#000000',
  },
}
SCSS
$custom: #173f5a;
$custom-light: #5d7388;
$custom-dark: #000000;
JSON
{
  "hex": "#173f5a",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 90
  },
  "hsl": {
    "h": 204.179,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.35304,
    "c": 0.0648,
    "h": 241.6
  },
  "luminance": 0.04475
}

Semantic roles & 50–950 ramp

primary
#173F5A
secondary
#915E3C
accent
#8545E2
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #173F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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