#173E56#173E56

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

Color values

HEX#173E56
RGBrgb(23, 62, 86)
HSLhsl(203, 58%, 21%)
HSVhsv(203, 73%, 34%)
CMYKcmyk(73.3%, 27.9%, 0%, 66.3%)
CIE-LABlab(24.64, -4.86, -18.44)
CIE-LCHlch(24.64, 19.07, 255.22°)
OKLaboklab(34.8% -0.0312 -0.0519)
OKLCHoklch(34.8% 0.061 239)
XYZxyz(3.7550, 4.2989, 9.4342)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E56 #562F17
analogous
#17564F #173E56 #171F56
triadic
#173E56 #56173E #3E5617
tetradic
#173E56 #4F1756 #562F17 #1F5617
square
#173E56 #4F1756 #562F17 #1F5617
split-complementary
#173E56 #56171F #564F17
monochromatic
#061118 #0A1B26 #173E56 #246186 #3184B7

Accessibility & contrast

On white

11.29
#173E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#173E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E56
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E56#FFFFFF#000000##FFFFFF
##173E561.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#2A3856
Tritanopia (blue-blind)
#004446
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173e56;
/* rgb */ color: rgb(23, 62, 86);
/* oklch */ color: oklch(34.8% 0.061 239.0);
Tailwind
colors: {
  custom: {
    50: '#5d7385',
    500: '#173e56',
    950: '#000000',
  },
}
SCSS
$custom: #173e56;
$custom-light: #5d7385;
$custom-dark: #000000;
JSON
{
  "hex": "#173e56",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 86
  },
  "hsl": {
    "h": 202.857,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34802,
    "c": 0.06056,
    "h": 239
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#173E56
secondary
#8D5B3C
accent
#8247E1
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #173E56

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

Preview Lab → · Contrast checker → · Palette generator →

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