#173C86#173C86

#173C86 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.131 H 262.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#173C86
RGBrgb(23, 60, 134)
HSLhsl(220, 71%, 31%)
HSVhsv(220, 83%, 53%)
CMYKcmyk(82.8%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.11, 16.20, -45.14)
CIE-LCHlch(27.11, 47.96, 289.74°)
OKLaboklab(37.73% -0.0179 -0.1302)
OKLCHoklch(37.73% 0.131 262.2)
XYZxyz(6.2707, 5.1344, 23.2102)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173C86 #866117
analogous
#177386 #173C86 #291786
triadic
#173C86 #86173C #3C8617
tetradic
#173C86 #861773 #866117 #178629
square
#173C86 #861773 #866117 #178629
split-complementary
#173C86 #862917 #738617
monochromatic
#050D1E #0E2552 #173C86 #2053BA #3A71DD

Accessibility & contrast

On white

10.36
#173C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#173C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173C86
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173C86#FFFFFF#000000##FFFFFF
##173C861.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #173c86;
/* rgb */ color: rgb(23, 60, 134);
/* oklch */ color: oklch(37.7% 0.131 262.2);
Tailwind
colors: {
  custom: {
    50: '#6871aa',
    500: '#173c86',
    950: '#000000',
  },
}
SCSS
$custom: #173c86;
$custom-light: #6871aa;
$custom-dark: #000000;
JSON
{
  "hex": "#173c86",
  "rgb": {
    "r": 23,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 220,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37728,
    "c": 0.13141,
    "h": 262.2
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#173C86
secondary
#BA913F
accent
#B23AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173C86

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

Preview Lab → · Contrast checker → · Palette generator →

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