#173386#173386

#173386 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.143 H 265.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#173386
RGBrgb(23, 51, 134)
HSLhsl(225, 71%, 31%)
HSVhsv(225, 83%, 53%)
CMYKcmyk(82.8%, 61.9%, 0%, 47.5%)
CIE-LABlab(24.55, 22.52, -49.32)
CIE-LCHlch(24.55, 54.22, 294.54°)
OKLaboklab(35.8% -0.0117 -0.1426)
OKLCHoklch(35.8% 0.143 265.3)
XYZxyz(5.8387, 4.2703, 23.0662)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173386 #866A17
analogous
#176A86 #173386 #321786
triadic
#173386 #861733 #338617
tetradic
#173386 #86176A #866A17 #178632
square
#173386 #86176A #866A17 #178632
split-complementary
#173386 #863217 #6A8617
monochromatic
#050B1E #0E1F52 #173386 #2047BA #3A63DD

Accessibility & contrast

On white

11.33
#173386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#173386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173386
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173386#FFFFFF#000000##FFFFFF
##1733861.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173386;
/* rgb */ color: rgb(23, 51, 134);
/* oklch */ color: oklch(35.8% 0.143 265.3);
Tailwind
colors: {
  custom: {
    50: '#696aaa',
    500: '#173386',
    950: '#000000',
  },
}
SCSS
$custom: #173386;
$custom-light: #696aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#173386",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 224.865,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.1431,
    "h": 265.3
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#173386
secondary
#BA9B3F
accent
#C03AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173386

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

Preview Lab → · Contrast checker → · Palette generator →

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