#173688#173688

#173688 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.142 H 264.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#173688
RGBrgb(23, 54, 136)
HSLhsl(224, 71%, 31%)
HSVhsv(224, 83%, 53%)
CMYKcmyk(83.1%, 60.3%, 0%, 46.7%)
CIE-LABlab(25.56, 21.23, -48.92)
CIE-LCHlch(25.56, 53.33, 293.46°)
OKLaboklab(36.6% -0.0136 -0.1414)
OKLCHoklch(36.6% 0.142 264.5)
XYZxyz(6.1149, 4.5973, 23.8529)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173688 #886917
analogous
#176E88 #173688 #301788
triadic
#173688 #881736 #368817
tetradic
#173688 #88176E #886917 #178830
square
#173688 #88176E #886917 #178830
split-complementary
#173688 #883017 #6E8817
monochromatic
#050C1F #0E2154 #173688 #204BBC #3B68DE

Accessibility & contrast

On white

10.94
#173688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#173688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173688
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173688#FFFFFF#000000##FFFFFF
##1736881.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173688;
/* rgb */ color: rgb(23, 54, 136);
/* oklch */ color: oklch(36.6% 0.142 264.5);
Tailwind
colors: {
  custom: {
    50: '#696cab',
    500: '#173688',
    950: '#000000',
  },
}
SCSS
$custom: #173688;
$custom-light: #696cab;
$custom-dark: #000000;
JSON
{
  "hex": "#173688",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 136
  },
  "hsl": {
    "h": 223.54,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.14205,
    "h": 264.5
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#173688
secondary
#BC9A3F
accent
#BC3AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173688

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

Preview Lab → · Contrast checker → · Palette generator →

#173688 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva