#173C96#173C96

#173C96 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.154 H 263.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#173C96
RGBrgb(23, 60, 150)
HSLhsl(223, 73%, 34%)
HSVhsv(223, 85%, 59%)
CMYKcmyk(84.7%, 60%, 0%, 41.2%)
CIE-LABlab(28.42, 22.73, -52.89)
CIE-LCHlch(28.42, 57.56, 293.26°)
OKLaboklab(39.12% -0.0167 -0.1529)
OKLCHoklch(39.12% 0.154 263.8)
XYZxyz(7.4723, 5.6150, 29.5382)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C96 #967117
analogous
#177C96 #173C96 #321796
triadic
#173C96 #96173C #3C9617
tetradic
#173C96 #96177C #967117 #179632
square
#173C96 #96177C #967117 #179632
split-complementary
#173C96 #963217 #7C9617
monochromatic
#07122C #0F2761 #173C96 #1F51CB #4573E2

Accessibility & contrast

On white

9.89
#173C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#173C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C96
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C96#FFFFFF#000000##FFFFFF
##173C961.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #173c96;
/* rgb */ color: rgb(23, 60, 150);
/* oklch */ color: oklch(39.1% 0.154 263.8);
Tailwind
colors: {
  custom: {
    50: '#6c71b6',
    500: '#173c96',
    950: '#000000',
  },
}
SCSS
$custom: #173c96;
$custom-light: #6c71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#173c96",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 222.52,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39122,
    "c": 0.15385,
    "h": 263.8
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#173C96
secondary
#C39F45
accent
#BA38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173C96

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

Preview Lab → · Contrast checker → · Palette generator →

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