#173C72#173C72

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

Color values

HEX#173C72
RGBrgb(23, 60, 114)
HSLhsl(216, 66%, 27%)
HSVhsv(216, 80%, 45%)
CMYKcmyk(79.8%, 47.4%, 0%, 55.3%)
CIE-LABlab(25.65, 7.90, -34.92)
CIE-LCHlch(25.65, 35.80, 282.74°)
OKLaboklab(36.14% -0.0209 -0.1001)
OKLCHoklch(36.14% 0.102 258.2)
XYZxyz(5.0054, 4.6282, 16.5459)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C72 #724D17
analogous
#176A72 #173C72 #1F1772
triadic
#173C72 #72173C #3C7217
tetradic
#173C72 #72176A #724D17 #17721F
square
#173C72 #72176A #724D17 #17721F
split-complementary
#173C72 #721F17 #6A7217
monochromatic
#050D19 #0D213F #173C72 #2157A5 #2E72D5

Accessibility & contrast

On white

10.90
#173C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C72
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C72#FFFFFF#000000##FFFFFF
##173C721.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173c72;
/* rgb */ color: rgb(23, 60, 114);
/* oklch */ color: oklch(36.1% 0.102 258.2);
Tailwind
colors: {
  custom: {
    50: '#63719b',
    500: '#173c72',
    950: '#000000',
  },
}
SCSS
$custom: #173c72;
$custom-light: #63719b;
$custom-dark: #000000;
JSON
{
  "hex": "#173c72",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 114
  },
  "hsl": {
    "h": 215.604,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36138,
    "c": 0.10227,
    "h": 258.2
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#173C72
secondary
#A87C3D
accent
#A43EE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173C72

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

Preview Lab → · Contrast checker → · Palette generator →

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