#173C7A#173C7A

#173C7A is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.114 H 260.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#173C7A
RGBrgb(23, 60, 122)
HSLhsl(218, 68%, 28%)
HSVhsv(218, 81%, 48%)
CMYKcmyk(81.1%, 50.8%, 0%, 52.2%)
CIE-LABlab(26.21, 11.23, -39.08)
CIE-LCHlch(26.21, 40.66, 286.03°)
OKLaboklab(36.75% -0.0195 -0.1124)
OKLCHoklch(36.75% 0.114 260.2)
XYZxyz(5.4808, 4.8184, 19.0498)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C7A #7A5517
analogous
#176D7A #173C7A #23177A
triadic
#173C7A #7A173C #3C7A17
tetradic
#173C7A #7A176D #7A5517 #177A23
square
#173C7A #7A176D #7A5517 #177A23
split-complementary
#173C7A #7A2317 #6D7A17
monochromatic
#050D1A #0D2347 #173C7A #2155AD #3371D9

Accessibility & contrast

On white

10.69
#173C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#173C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C7A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C7A#FFFFFF#000000##FFFFFF
##173C7A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173c7a;
/* rgb */ color: rgb(23, 60, 122);
/* oklch */ color: oklch(36.8% 0.114 260.2);
Tailwind
colors: {
  custom: {
    50: '#6571a1',
    500: '#173c7a',
    950: '#000000',
  },
}
SCSS
$custom: #173c7a;
$custom-light: #6571a1;
$custom-dark: #000000;
JSON
{
  "hex": "#173c7a",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 217.576,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.11404,
    "h": 260.2
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#173C7A
secondary
#AF853E
accent
#AA3DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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