#173D86#173D86

#173D86 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.130 H 261.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#173D86
RGBrgb(23, 61, 134)
HSLhsl(219, 71%, 31%)
HSVhsv(219, 83%, 53%)
CMYKcmyk(82.8%, 54.5%, 0%, 47.5%)
CIE-LABlab(27.41, 15.50, -44.66)
CIE-LCHlch(27.41, 47.27, 289.14°)
OKLaboklab(37.95% -0.0187 -0.1288)
OKLCHoklch(37.95% 0.13 261.8)
XYZxyz(6.3236, 5.2401, 23.2278)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173D86 #866017
analogous
#177486 #173D86 #281786
triadic
#173D86 #86173D #3D8617
tetradic
#173D86 #861774 #866017 #178628
square
#173D86 #861774 #866017 #178628
split-complementary
#173D86 #862817 #748617
monochromatic
#050D1E #0E2552 #173D86 #2055BA #3A72DD

Accessibility & contrast

On white

10.25
#173D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#173D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173D86
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173D86#FFFFFF#000000##FFFFFF
##173D861.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054689
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173d86;
/* rgb */ color: rgb(23, 61, 134);
/* oklch */ color: oklch(38.0% 0.130 261.8);
Tailwind
colors: {
  custom: {
    50: '#6871aa',
    500: '#173d86',
    950: '#000000',
  },
}
SCSS
$custom: #173d86;
$custom-light: #6871aa;
$custom-dark: #000000;
JSON
{
  "hex": "#173d86",
  "rgb": {
    "r": 23,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 219.459,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37951,
    "c": 0.13011,
    "h": 261.8
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#173D86
secondary
#BA903F
accent
#B03AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173D86

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

Preview Lab → · Contrast checker → · Palette generator →

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