#173D96#173D96

#173D96 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.153 H 263.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#173D96
RGBrgb(23, 61, 150)
HSLhsl(222, 73%, 34%)
HSVhsv(222, 85%, 59%)
CMYKcmyk(84.7%, 59.3%, 0%, 41.2%)
CIE-LABlab(28.70, 22.04, -52.43)
CIE-LCHlch(28.70, 56.88, 292.80°)
OKLaboklab(39.33% -0.0173 -0.1516)
OKLCHoklch(39.33% 0.153 263.5)
XYZxyz(7.5251, 5.7207, 29.5558)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D96 #967017
analogous
#177D96 #173D96 #311796
triadic
#173D96 #96173D #3D9617
tetradic
#173D96 #96177D #967017 #179631
square
#173D96 #96177D #967017 #179631
split-complementary
#173D96 #963117 #7D9617
monochromatic
#07122C #0F2761 #173D96 #1F53CB #4574E2

Accessibility & contrast

On white

9.79
#173D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#173D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D96
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D96#FFFFFF#000000##FFFFFF
##173D961.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #173d96;
/* rgb */ color: rgb(23, 61, 150);
/* oklch */ color: oklch(39.3% 0.153 263.5);
Tailwind
colors: {
  custom: {
    50: '#6c71b6',
    500: '#173d96',
    950: '#000000',
  },
}
SCSS
$custom: #173d96;
$custom-light: #6c71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#173d96",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 222.047,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3933,
    "c": 0.15259,
    "h": 263.5
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#173D96
secondary
#C39E45
accent
#B938F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173D96

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

Preview Lab → · Contrast checker → · Palette generator →

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