#173B86#173B86

#173B86 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.133 H 262.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#173B86
RGBrgb(23, 59, 134)
HSLhsl(221, 71%, 31%)
HSVhsv(221, 83%, 53%)
CMYKcmyk(82.8%, 56%, 0%, 47.5%)
CIE-LABlab(26.82, 16.90, -45.61)
CIE-LCHlch(26.82, 48.64, 290.33°)
OKLaboklab(37.51% -0.0172 -0.1316)
OKLCHoklch(37.51% 0.133 262.6)
XYZxyz(6.2188, 5.0306, 23.1929)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B86 #866217
analogous
#177286 #173B86 #2B1786
triadic
#173B86 #86173B #3B8617
tetradic
#173B86 #861772 #866217 #17862B
square
#173B86 #861772 #866217 #17862B
split-complementary
#173B86 #862B17 #728617
monochromatic
#050D1E #0E2452 #173B86 #2052BA #3A6FDD

Accessibility & contrast

On white

10.47
#173B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#173B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B86
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B86#FFFFFF#000000##FFFFFF
##173B861.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #173b86;
/* rgb */ color: rgb(23, 59, 134);
/* oklch */ color: oklch(37.5% 0.133 262.6);
Tailwind
colors: {
  custom: {
    50: '#6870aa',
    500: '#173b86',
    950: '#000000',
  },
}
SCSS
$custom: #173b86;
$custom-light: #6870aa;
$custom-dark: #000000;
JSON
{
  "hex": "#173b86",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 220.541,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.13271,
    "h": 262.6
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#173B86
secondary
#BA923F
accent
#B33AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173B86

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

Preview Lab → · Contrast checker → · Palette generator →

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