#173D9F#173D9F

#173D9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.165 H 264.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#173D9F
RGBrgb(23, 61, 159)
HSLhsl(223, 75%, 36%)
HSVhsv(223, 86%, 62%)
CMYKcmyk(85.5%, 61.6%, 0%, 37.6%)
CIE-LABlab(29.47, 25.65, -56.65)
CIE-LCHlch(29.47, 62.19, 294.36°)
OKLaboklab(40.15% -0.017 -0.164)
OKLCHoklch(40.15% 0.165 264.1)
XYZxyz(8.2779, 6.0218, 33.5202)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D9F #9F7917
analogous
#17819F #173D9F #35179F
triadic
#173D9F #9F173D #3D9F17
tetradic
#173D9F #9F1781 #9F7917 #179F35
square
#173D9F #9F1781 #9F7917 #179F35
split-complementary
#173D9F #9F3517 #819F17
monochromatic
#081434 #0F286A #173D9F #1F52D4 #4B76E5

Accessibility & contrast

On white

9.53
#173D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#173D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D9F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D9F#FFFFFF#000000##FFFFFF
##173D9F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #173d9f;
/* rgb */ color: rgb(23, 61, 159);
/* oklch */ color: oklch(40.1% 0.165 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f72bc',
    500: '#173d9f',
    950: '#000000',
  },
}
SCSS
$custom: #173d9f;
$custom-light: #6f72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#173d9f",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 223.235,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.16485,
    "h": 264.1
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#173D9F
secondary
#C7A44B
accent
#BD36F1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #173D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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