#173486#173486

#173486 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.142 H 265.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#173486
RGBrgb(23, 52, 134)
HSLhsl(224, 71%, 31%)
HSVhsv(224, 83%, 53%)
CMYKcmyk(82.8%, 61.2%, 0%, 47.5%)
CIE-LABlab(24.82, 21.82, -48.87)
CIE-LCHlch(24.82, 53.52, 294.06°)
OKLaboklab(36% -0.0123 -0.1413)
OKLCHoklch(36% 0.142 265)
XYZxyz(5.8829, 4.3587, 23.0809)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173486 #866917
analogous
#176B86 #173486 #311786
triadic
#173486 #861734 #348617
tetradic
#173486 #86176B #866917 #178631
square
#173486 #86176B #866917 #178631
split-complementary
#173486 #863117 #6B8617
monochromatic
#050B1E #0E2052 #173486 #2048BA #3A65DD

Accessibility & contrast

On white

11.22
#173486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#173486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173486
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173486#FFFFFF#000000##FFFFFF
##1734861.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #173486;
/* rgb */ color: rgb(23, 52, 134);
/* oklch */ color: oklch(36.0% 0.142 265.0);
Tailwind
colors: {
  custom: {
    50: '#696baa',
    500: '#173486',
    950: '#000000',
  },
}
SCSS
$custom: #173486;
$custom-light: #696baa;
$custom-dark: #000000;
JSON
{
  "hex": "#173486",
  "rgb": {
    "r": 23,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 224.324,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36002,
    "c": 0.14182,
    "h": 265
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#173486
secondary
#BA9A3F
accent
#BF3AED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173486

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

Preview Lab → · Contrast checker → · Palette generator →

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