#173C79#173C79

#173C79 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.113 H 259.9°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#173C79
RGBrgb(23, 60, 121)
HSLhsl(217, 68%, 28%)
HSVhsv(217, 81%, 47%)
CMYKcmyk(81%, 50.4%, 0%, 52.5%)
CIE-LABlab(26.14, 10.81, -38.57)
CIE-LCHlch(26.14, 40.05, 285.66°)
OKLaboklab(36.67% -0.0196 -0.1108)
OKLCHoklch(36.67% 0.113 259.9)
XYZxyz(5.4191, 4.7937, 18.7251)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C79 #795417
analogous
#176D79 #173C79 #231779
triadic
#173C79 #79173C #3C7917
tetradic
#173C79 #79176D #795417 #177923
square
#173C79 #79176D #795417 #177923
split-complementary
#173C79 #792317 #6D7917
monochromatic
#050D1A #0D2246 #173C79 #2155AC #3271D8

Accessibility & contrast

On white

10.72
#173C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173C79
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C79#FFFFFF#000000##FFFFFF
##173C791.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #173c79;
/* rgb */ color: rgb(23, 60, 121);
/* oklch */ color: oklch(36.7% 0.113 259.9);
Tailwind
colors: {
  custom: {
    50: '#6571a0',
    500: '#173c79',
    950: '#000000',
  },
}
SCSS
$custom: #173c79;
$custom-light: #6571a0;
$custom-dark: #000000;
JSON
{
  "hex": "#173c79",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 217.347,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36673,
    "c": 0.11258,
    "h": 259.9
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#173C79
secondary
#AE843E
accent
#A93DEB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #173C79

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

Preview Lab → · Contrast checker → · Palette generator →

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