#173784#173784

#173784 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.135 H 263.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#173784
RGBrgb(23, 55, 132)
HSLhsl(222, 70%, 30%)
HSVhsv(222, 83%, 52%)
CMYKcmyk(82.6%, 58.3%, 0%, 48.2%)
CIE-LABlab(25.50, 18.89, -46.51)
CIE-LCHlch(25.50, 50.20, 292.11°)
OKLaboklab(36.46% -0.0145 -0.1343)
OKLCHoklch(36.46% 0.135 263.9)
XYZxyz(5.8829, 4.5798, 22.3993)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173784 #846417
analogous
#176E84 #173784 #2D1784
triadic
#173784 #841737 #378417
tetradic
#173784 #84176E #846417 #17842D
square
#173784 #84176E #846417 #17842D
split-complementary
#173784 #842D17 #6E8417
monochromatic
#050C1C #0E2150 #173784 #204DB8 #3969DC

Accessibility & contrast

On white

10.96
#173784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#173784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173784
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173784#FFFFFF#000000##FFFFFF
##1737841.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #173784;
/* rgb */ color: rgb(23, 55, 132);
/* oklch */ color: oklch(36.5% 0.135 263.9);
Tailwind
colors: {
  custom: {
    50: '#686da8',
    500: '#173784',
    950: '#000000',
  },
}
SCSS
$custom: #173784;
$custom-light: #686da8;
$custom-dark: #000000;
JSON
{
  "hex": "#173784",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 222.385,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36458,
    "c": 0.13509,
    "h": 263.9
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#173784
secondary
#B8943F
accent
#B93BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #173784

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

Preview Lab → · Contrast checker → · Palette generator →

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