#173A86#173A86

#173A86 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.134 H 262.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#173A86
RGBrgb(23, 58, 134)
HSLhsl(221, 71%, 31%)
HSVhsv(221, 83%, 53%)
CMYKcmyk(82.8%, 56.7%, 0%, 47.5%)
CIE-LABlab(26.53, 17.60, -46.08)
CIE-LCHlch(26.53, 49.33, 290.91°)
OKLaboklab(37.29% -0.0164 -0.133)
OKLCHoklch(37.29% 0.134 262.9)
XYZxyz(6.1679, 4.9288, 23.1759)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A86 #866317
analogous
#177186 #173A86 #2B1786
triadic
#173A86 #86173A #3A8617
tetradic
#173A86 #861771 #866317 #17862B
square
#173A86 #861771 #866317 #17862B
split-complementary
#173A86 #862B17 #718617
monochromatic
#050D1E #0E2352 #173A86 #2051BA #3A6EDD

Accessibility & contrast

On white

10.57
#173A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#173A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A86
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A86#FFFFFF#000000##FFFFFF
##173A861.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173a86;
/* rgb */ color: rgb(23, 58, 134);
/* oklch */ color: oklch(37.3% 0.134 262.9);
Tailwind
colors: {
  custom: {
    50: '#686faa',
    500: '#173a86',
    950: '#000000',
  },
}
SCSS
$custom: #173a86;
$custom-light: #686faa;
$custom-dark: #000000;
JSON
{
  "hex": "#173a86",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 221.081,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37286,
    "c": 0.13401,
    "h": 262.9
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#173A86
secondary
#BA933F
accent
#B53AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173A86

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

Preview Lab → · Contrast checker → · Palette generator →

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