#173A5B#173A5B

#173A5B is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.0% C 0.071 H 249.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#173A5B
RGBrgb(23, 58, 91)
HSLhsl(209, 60%, 22%)
HSVhsv(209, 75%, 36%)
CMYKcmyk(74.7%, 36.3%, 0%, 64.3%)
CIE-LABlab(23.55, -0.19, -23.42)
CIE-LCHlch(23.55, 23.42, 269.52°)
OKLaboklab(34.03% -0.0248 -0.0664)
OKLCHoklch(34.03% 0.071 249.5)
XYZxyz(3.7540, 3.9632, 10.4626)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A5B #5B3817
analogous
#175B5A #173A5B #17185B
triadic
#173A5B #5B173A #3A5B17
tetradic
#173A5B #5A175B #5B3817 #185B17
square
#173A5B #5A175B #5B3817 #185B17
split-complementary
#173A5B #5B1718 #5B5A17
monochromatic
#061018 #0B1B2A #173A5B #23598C #3078BD

Accessibility & contrast

On white

11.71
#173A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#173A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A5B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A5B#FFFFFF#000000##FFFFFF
##173A5B1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5C
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #173a5b;
/* rgb */ color: rgb(23, 58, 91);
/* oklch */ color: oklch(34.0% 0.071 249.5);
Tailwind
colors: {
  custom: {
    50: '#5d6f89',
    500: '#173a5b',
    950: '#000000',
  },
}
SCSS
$custom: #173a5b;
$custom-light: #5d6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#173a5b",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 91
  },
  "hsl": {
    "h": 209.118,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34034,
    "c": 0.07089,
    "h": 249.5
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#173A5B
secondary
#92663C
accent
#9245E3
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #173A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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