#173684#173684

#173684 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.136 H 264.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#173684
RGBrgb(23, 54, 132)
HSLhsl(223, 70%, 30%)
HSVhsv(223, 83%, 52%)
CMYKcmyk(82.6%, 59.1%, 0%, 48.2%)
CIE-LABlab(25.22, 19.60, -46.98)
CIE-LCHlch(25.22, 50.90, 292.65°)
OKLaboklab(36.24% -0.0138 -0.1357)
OKLCHoklch(36.24% 0.136 264.2)
XYZxyz(5.8359, 4.4857, 22.3836)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173684 #846517
analogous
#176C84 #173684 #2E1784
triadic
#173684 #841736 #368417
tetradic
#173684 #84176C #846517 #17842E
square
#173684 #84176C #846517 #17842E
split-complementary
#173684 #842E17 #6C8417
monochromatic
#050B1C #0E2150 #173684 #204BB8 #3967DC

Accessibility & contrast

On white

11.07
#173684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#173684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173684
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173684#FFFFFF#000000##FFFFFF
##1736841.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #173684;
/* rgb */ color: rgb(23, 54, 132);
/* oklch */ color: oklch(36.2% 0.136 264.2);
Tailwind
colors: {
  custom: {
    50: '#686ca8',
    500: '#173684',
    950: '#000000',
  },
}
SCSS
$custom: #173684;
$custom-light: #686ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#173684",
  "rgb": {
    "r": 23,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 222.936,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36243,
    "c": 0.13639,
    "h": 264.2
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#173684
secondary
#B8963F
accent
#BA3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173684

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

Preview Lab → · Contrast checker → · Palette generator →

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