#173B96#173B96

#173B96 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.155 H 264.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#173B96
RGBrgb(23, 59, 150)
HSLhsl(223, 73%, 34%)
HSVhsv(223, 85%, 59%)
CMYKcmyk(84.7%, 60.7%, 0%, 41.2%)
CIE-LABlab(28.14, 23.42, -53.33)
CIE-LCHlch(28.14, 58.25, 293.71°)
OKLaboklab(38.92% -0.0161 -0.1543)
OKLCHoklch(38.92% 0.155 264)
XYZxyz(7.4204, 5.5112, 29.5209)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B96 #967217
analogous
#177B96 #173B96 #331796
triadic
#173B96 #96173B #3B9617
tetradic
#173B96 #96177B #967217 #179633
square
#173B96 #96177B #967217 #179633
split-complementary
#173B96 #963317 #7B9617
monochromatic
#07112C #0F2661 #173B96 #1F50CB #4572E2

Accessibility & contrast

On white

9.99
#173B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#173B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B96
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B96#FFFFFF#000000##FFFFFF
##173B961.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173b96;
/* rgb */ color: rgb(23, 59, 150);
/* oklch */ color: oklch(38.9% 0.155 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c70b6',
    500: '#173b96',
    950: '#000000',
  },
}
SCSS
$custom: #173b96;
$custom-light: #6c70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#173b96",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 222.992,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38915,
    "c": 0.15511,
    "h": 264
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#173B96
secondary
#C3A045
accent
#BC38F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #173B96

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

Preview Lab → · Contrast checker → · Palette generator →

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