#173C71#173C71

#173C71 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.101 H 257.9°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#173C71
RGBrgb(23, 60, 113)
HSLhsl(215, 66%, 27%)
HSVhsv(215, 80%, 44%)
CMYKcmyk(79.6%, 46.9%, 0%, 55.7%)
CIE-LABlab(25.58, 7.48, -34.39)
CIE-LCHlch(25.58, 35.20, 282.27°)
OKLaboklab(36.06% -0.0211 -0.0986)
OKLCHoklch(36.06% 0.101 257.9)
XYZxyz(4.9488, 4.6056, 16.2477)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C71 #714C17
analogous
#176971 #173C71 #1F1771
triadic
#173C71 #71173C #3C7117
tetradic
#173C71 #711769 #714C17 #17711F
square
#173C71 #711769 #714C17 #17711F
split-complementary
#173C71 #711F17 #697117
monochromatic
#050E19 #0D213E #173C71 #2157A4 #2E72D4

Accessibility & contrast

On white

10.93
#173C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#173C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C71
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C71#FFFFFF#000000##FFFFFF
##173C711.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#0E3970
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173c71;
/* rgb */ color: rgb(23, 60, 113);
/* oklch */ color: oklch(36.1% 0.101 257.9);
Tailwind
colors: {
  custom: {
    50: '#63719a',
    500: '#173c71',
    950: '#000000',
  },
}
SCSS
$custom: #173c71;
$custom-light: #63719a;
$custom-dark: #000000;
JSON
{
  "hex": "#173c71",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 215.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36064,
    "c": 0.1008,
    "h": 257.9
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#173C71
secondary
#A77B3D
accent
#A33FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173C71

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

Preview Lab → · Contrast checker → · Palette generator →

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