#173E86#173E86

#173E86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.129 H 261.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#173E86
RGBrgb(23, 62, 134)
HSLhsl(219, 71%, 31%)
HSVhsv(219, 83%, 53%)
CMYKcmyk(82.8%, 53.7%, 0%, 47.5%)
CIE-LABlab(27.70, 14.80, -44.18)
CIE-LCHlch(27.70, 46.59, 288.52°)
OKLaboklab(38.18% -0.0194 -0.1273)
OKLCHoklch(38.18% 0.129 261.3)
XYZxyz(6.3775, 5.3479, 23.2458)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E86 #865F17
analogous
#177586 #173E86 #271786
triadic
#173E86 #86173E #3E8617
tetradic
#173E86 #861775 #865F17 #178627
square
#173E86 #861775 #865F17 #178627
split-complementary
#173E86 #862717 #758617
monochromatic
#050E1E #0E2652 #173E86 #2056BA #3A73DD

Accessibility & contrast

On white

10.15
#173E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#173E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173E86
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E86#FFFFFF#000000##FFFFFF
##173E861.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4789
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #173e86;
/* rgb */ color: rgb(23, 62, 134);
/* oklch */ color: oklch(38.2% 0.129 261.3);
Tailwind
colors: {
  custom: {
    50: '#6872aa',
    500: '#173e86',
    950: '#000000',
  },
}
SCSS
$custom: #173e86;
$custom-light: #6872aa;
$custom-dark: #000000;
JSON
{
  "hex": "#173e86",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 218.919,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38176,
    "c": 0.1288,
    "h": 261.3
  },
  "luminance": 0.05349
}

Semantic roles & 50–950 ramp

primary
#173E86
secondary
#BA8F3F
accent
#AF3AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #173E86

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

Preview Lab → · Contrast checker → · Palette generator →

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