#173686#173686

#173686 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.139 H 264.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#173686
RGBrgb(23, 54, 134)
HSLhsl(223, 71%, 31%)
HSVhsv(223, 83%, 53%)
CMYKcmyk(82.8%, 59.7%, 0%, 47.5%)
CIE-LABlab(25.38, 20.42, -47.95)
CIE-LCHlch(25.38, 52.12, 293.06°)
OKLaboklab(36.42% -0.0137 -0.1386)
OKLCHoklch(36.42% 0.139 264.4)
XYZxyz(5.9741, 4.5410, 23.1113)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173686 #866717
analogous
#176D86 #173686 #2F1786
triadic
#173686 #861736 #368617
tetradic
#173686 #86176D #866717 #17862F
square
#173686 #86176D #866717 #17862F
split-complementary
#173686 #862F17 #6D8617
monochromatic
#050C1E #0E2152 #173686 #204BBA #3A68DD

Accessibility & contrast

On white

11.00
#173686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#173686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173686
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173686#FFFFFF#000000##FFFFFF
##1736861.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173686;
/* rgb */ color: rgb(23, 54, 134);
/* oklch */ color: oklch(36.4% 0.139 264.4);
Tailwind
colors: {
  custom: {
    50: '#686caa',
    500: '#173686',
    950: '#000000',
  },
}
SCSS
$custom: #173686;
$custom-light: #686caa;
$custom-dark: #000000;
JSON
{
  "hex": "#173686",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 223.243,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36422,
    "c": 0.13923,
    "h": 264.4
  },
  "luminance": 0.04542
}

Semantic roles & 50–950 ramp

primary
#173686
secondary
#BA983F
accent
#BB3AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173686

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

Preview Lab → · Contrast checker → · Palette generator →

#173686 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva