#173F5B#173F5B

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

Color values

HEX#173F5B
RGBrgb(23, 63, 91)
HSLhsl(205, 60%, 22%)
HSVhsv(205, 75%, 36%)
CMYKcmyk(74.7%, 30.8%, 0%, 64.3%)
CIE-LABlab(25.24, -3.56, -20.77)
CIE-LCHlch(25.24, 21.07, 260.29°)
OKLaboklab(35.36% -0.0305 -0.0586)
OKLCHoklch(35.36% 0.066 242.5)
XYZxyz(4.0185, 4.4921, 10.5508)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F5B #5B3317
analogous
#175B55 #173F5B #171D5B
triadic
#173F5B #5B173F #3F5B17
tetradic
#173F5B #55175B #5B3317 #1D5B17
square
#173F5B #55175B #5B3317 #1D5B17
split-complementary
#173F5B #5B171D #5B5517
monochromatic
#061118 #0B1D2A #173F5B #23618C #3083BD

Accessibility & contrast

On white

11.06
#173F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173F5B
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F5B#FFFFFF#000000##FFFFFF
##173F5B1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5C
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#004649
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173f5b;
/* rgb */ color: rgb(23, 63, 91);
/* oklch */ color: oklch(35.4% 0.066 242.5);
Tailwind
colors: {
  custom: {
    50: '#5e7389',
    500: '#173f5b',
    950: '#000000',
  },
}
SCSS
$custom: #173f5b;
$custom-light: #5e7389;
$custom-dark: #000000;
JSON
{
  "hex": "#173f5b",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 91
  },
  "hsl": {
    "h": 204.706,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.06609,
    "h": 242.5
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#173F5B
secondary
#925F3C
accent
#8645E3
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #173F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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