#173F96#173F96

#173F96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.150 H 262.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#173F96
RGBrgb(23, 63, 150)
HSLhsl(221, 73%, 34%)
HSVhsv(221, 85%, 59%)
CMYKcmyk(84.7%, 58%, 0%, 41.2%)
CIE-LABlab(29.26, 20.66, -51.52)
CIE-LCHlch(29.26, 55.51, 291.85°)
OKLaboklab(39.75% -0.0186 -0.1489)
OKLCHoklch(39.75% 0.15 262.9)
XYZxyz(7.6339, 5.9382, 29.5921)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F96 #966E17
analogous
#177F96 #173F96 #2F1796
triadic
#173F96 #96173F #3F9617
tetradic
#173F96 #96177F #966E17 #17962F
square
#173F96 #96177F #966E17 #17962F
split-complementary
#173F96 #962F17 #7F9617
monochromatic
#07122C #0F2961 #173F96 #1F55CB #4577E2

Accessibility & contrast

On white

9.60
#173F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#173F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F96
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F96#FFFFFF#000000##FFFFFF
##173F961.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #173f96;
/* rgb */ color: rgb(23, 63, 150);
/* oklch */ color: oklch(39.8% 0.150 262.9);
Tailwind
colors: {
  custom: {
    50: '#6c73b6',
    500: '#173f96',
    950: '#000000',
  },
}
SCSS
$custom: #173f96;
$custom-light: #6c73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#173f96",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 221.102,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.15004,
    "h": 262.9
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#173F96
secondary
#C39C45
accent
#B638F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #173F96

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

Preview Lab → · Contrast checker → · Palette generator →

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