#173C78#173C78

#173C78 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.111 H 259.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#173C78
RGBrgb(23, 60, 120)
HSLhsl(217, 68%, 28%)
HSVhsv(217, 81%, 47%)
CMYKcmyk(80.8%, 50%, 0%, 52.9%)
CIE-LABlab(26.07, 10.39, -38.05)
CIE-LCHlch(26.07, 39.45, 285.28°)
OKLaboklab(36.6% -0.0198 -0.1093)
OKLCHoklch(36.6% 0.111 259.7)
XYZxyz(5.3581, 4.7693, 18.4038)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C78 #785317
analogous
#176C78 #173C78 #221778
triadic
#173C78 #78173C #3C7817
tetradic
#173C78 #78176C #785317 #177822
square
#173C78 #78176C #785317 #177822
split-complementary
#173C78 #782217 #6C7817
monochromatic
#050D1A #0D2245 #173C78 #2156AB #3271D8

Accessibility & contrast

On white

10.75
#173C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#173C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C78
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C78#FFFFFF#000000##FFFFFF
##173C781.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A427A
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173c78;
/* rgb */ color: rgb(23, 60, 120);
/* oklch */ color: oklch(36.6% 0.111 259.7);
Tailwind
colors: {
  custom: {
    50: '#64719f',
    500: '#173c78',
    950: '#000000',
  },
}
SCSS
$custom: #173c78;
$custom-light: #64719f;
$custom-dark: #000000;
JSON
{
  "hex": "#173c78",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 217.113,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36595,
    "c": 0.11111,
    "h": 259.7
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#173C78
secondary
#AD833E
accent
#A83DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #173C78

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

Preview Lab → · Contrast checker → · Palette generator →

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