#173A96#173A96

#173A96 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.156 H 264.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#173A96
RGBrgb(23, 58, 150)
HSLhsl(223, 73%, 34%)
HSVhsv(223, 85%, 59%)
CMYKcmyk(84.7%, 61.3%, 0%, 41.2%)
CIE-LABlab(27.87, 24.11, -53.78)
CIE-LCHlch(27.87, 58.94, 294.15°)
OKLaboklab(38.71% -0.0155 -0.1556)
OKLCHoklch(38.71% 0.156 264.3)
XYZxyz(7.3695, 5.4094, 29.5040)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A96 #967317
analogous
#177A96 #173A96 #341796
triadic
#173A96 #96173A #3A9617
tetradic
#173A96 #96177A #967317 #179634
square
#173A96 #96177A #967317 #179634
split-complementary
#173A96 #963417 #7A9617
monochromatic
#07112C #0F2561 #173A96 #1F4FCB #4570E2

Accessibility & contrast

On white

10.09
#173A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#173A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A96
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A96#FFFFFF#000000##FFFFFF
##173A961.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #173a96;
/* rgb */ color: rgb(23, 58, 150);
/* oklch */ color: oklch(38.7% 0.156 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d6fb6',
    500: '#173a96',
    950: '#000000',
  },
}
SCSS
$custom: #173a96;
$custom-light: #6d6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#173a96",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 223.465,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38711,
    "c": 0.15638,
    "h": 264.3
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#173A96
secondary
#C3A145
accent
#BD38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173A96

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

Preview Lab → · Contrast checker → · Palette generator →

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