#173384#173384

#173384 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.140 H 265.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#173384
RGBrgb(23, 51, 132)
HSLhsl(225, 70%, 30%)
HSVhsv(225, 83%, 52%)
CMYKcmyk(82.6%, 61.4%, 0%, 48.2%)
CIE-LABlab(24.37, 21.71, -48.35)
CIE-LCHlch(24.37, 53.00, 294.18°)
OKLaboklab(35.61% -0.0117 -0.1398)
OKLCHoklch(35.61% 0.14 265.2)
XYZxyz(5.7006, 4.2151, 22.3385)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173384 #846817
analogous
#176984 #173384 #311784
triadic
#173384 #841733 #338417
tetradic
#173384 #841769 #846817 #178431
square
#173384 #841769 #846817 #178431
split-complementary
#173384 #843117 #698417
monochromatic
#050B1C #0E1F50 #173384 #2047B8 #3963DC

Accessibility & contrast

On white

11.39
#173384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#173384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173384
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173384#FFFFFF#000000##FFFFFF
##1733841.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #173384;
/* rgb */ color: rgb(23, 51, 132);
/* oklch */ color: oklch(35.6% 0.140 265.2);
Tailwind
colors: {
  custom: {
    50: '#686aa9',
    500: '#173384',
    950: '#000000',
  },
}
SCSS
$custom: #173384;
$custom-light: #686aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#173384",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 224.587,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35609,
    "c": 0.14028,
    "h": 265.2
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#173384
secondary
#B8993F
accent
#BF3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #173384

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

Preview Lab → · Contrast checker → · Palette generator →

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