#173A56#173A56

#173A56 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.7% C 0.064 H 245.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#173A56
RGBrgb(23, 58, 86)
HSLhsl(207, 58%, 21%)
HSVhsv(207, 73%, 34%)
CMYKcmyk(73.3%, 32.6%, 0%, 66.3%)
CIE-LABlab(23.27, -2.20, -20.57)
CIE-LCHlch(23.27, 20.69, 263.89°)
OKLaboklab(33.72% -0.0265 -0.0581)
OKLCHoklch(33.72% 0.064 245.5)
XYZxyz(3.5455, 3.8798, 9.3643)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A56 #563317
analogous
#175653 #173A56 #171B56
triadic
#173A56 #56173A #3A5617
tetradic
#173A56 #531756 #563317 #1B5617
square
#173A56 #531756 #563317 #1B5617
split-complementary
#173A56 #56171B #565317
monochromatic
#061018 #0A1926 #173A56 #245B86 #317BB7

Accessibility & contrast

On white

11.82
#173A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#173A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A56
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A56#FFFFFF#000000##FFFFFF
##173A561.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#253555
Tritanopia (blue-blind)
#004144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173a56;
/* rgb */ color: rgb(23, 58, 86);
/* oklch */ color: oklch(33.7% 0.064 245.5);
Tailwind
colors: {
  custom: {
    50: '#5c6f85',
    500: '#173a56',
    950: '#000000',
  },
}
SCSS
$custom: #173a56;
$custom-light: #5c6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#173a56",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 86
  },
  "hsl": {
    "h": 206.667,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33722,
    "c": 0.06388,
    "h": 245.5
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#173A56
secondary
#8D603C
accent
#8B47E1
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #173A56

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

Preview Lab → · Contrast checker → · Palette generator →

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