#173D8F#173D8F

#173D8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.143 H 262.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#173D8F
RGBrgb(23, 61, 143)
HSLhsl(221, 72%, 33%)
HSVhsv(221, 84%, 56%)
CMYKcmyk(83.9%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.12, 19.19, -49.08)
CIE-LCHlch(28.12, 52.70, 291.36°)
OKLaboklab(38.71% -0.0178 -0.1417)
OKLCHoklch(38.71% 0.143 262.8)
XYZxyz(6.9782, 5.5020, 26.6755)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D8F #8F6917
analogous
#17798F #173D8F #2D178F
triadic
#173D8F #8F173D #3D8F17
tetradic
#173D8F #8F1779 #8F6917 #178F2D
square
#173D8F #8F1779 #8F6917 #178F2D
split-complementary
#173D8F #8F2D17 #798F17
monochromatic
#061026 #0F275A #173D8F #1F53C4 #4073E0

Accessibility & contrast

On white

10.00
#173D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#173D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D8F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D8F#FFFFFF#000000##FFFFFF
##173D8F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173d8f;
/* rgb */ color: rgb(23, 61, 143);
/* oklch */ color: oklch(38.7% 0.143 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a71b0',
    500: '#173d8f',
    950: '#000000',
  },
}
SCSS
$custom: #173d8f;
$custom-light: #6a71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#173d8f",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 221,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.14285,
    "h": 262.8
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#173D8F
secondary
#C19841
accent
#B539EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #173D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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