#173689#173689

#173689 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.143 H 264.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#173689
RGBrgb(23, 54, 137)
HSLhsl(224, 71%, 31%)
HSVhsv(224, 83%, 54%)
CMYKcmyk(83.2%, 60.6%, 0%, 46.3%)
CIE-LABlab(25.64, 21.64, -49.40)
CIE-LCHlch(25.64, 53.93, 293.65°)
OKLaboklab(36.69% -0.0135 -0.1428)
OKLCHoklch(36.69% 0.143 264.6)
XYZxyz(6.1863, 4.6259, 24.2289)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173689 #896A17
analogous
#176F89 #173689 #311789
triadic
#173689 #891736 #368917
tetradic
#173689 #89176F #896A17 #178931
square
#173689 #89176F #896A17 #178931
split-complementary
#173689 #893117 #6F8917
monochromatic
#050D20 #0E2155 #173689 #204BBD #3C68DE

Accessibility & contrast

On white

10.91
#173689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#173689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173689
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173689#FFFFFF#000000##FFFFFF
##1736891.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #173689;
/* rgb */ color: rgb(23, 54, 137);
/* oklch */ color: oklch(36.7% 0.143 264.6);
Tailwind
colors: {
  custom: {
    50: '#696cac',
    500: '#173689',
    950: '#000000',
  },
}
SCSS
$custom: #173689;
$custom-light: #696cac;
$custom-dark: #000000;
JSON
{
  "hex": "#173689",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 223.684,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.14345,
    "h": 264.6
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#173689
secondary
#BD9B3F
accent
#BD3AEE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173689

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

Preview Lab → · Contrast checker → · Palette generator →

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