#171373#171373

#171373 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.154 H 272.3°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#171373
RGBrgb(23, 19, 115)
HSLhsl(243, 72%, 26%)
HSVhsv(243, 83%, 45%)
CMYKcmyk(80%, 83.5%, 0%, 54.9%)
CIE-LABlab(14.87, 36.07, -53.15)
CIE-LCHlch(14.87, 64.24, 304.16°)
OKLaboklab(28.19% 0.0062 -0.1538)
OKLCHoklch(28.19% 0.154 272.3)
XYZxyz(3.6797, 1.8853, 16.3863)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171373 #6F7313
analogous
#133F73 #171373 #471373
triadic
#171373 #731713 #137317
tetradic
#171373 #73133F #6F7313 #137347
square
#171373 #73133F #6F7313 #137347
split-complementary
#171373 #734713 #3F7313
monochromatic
#05041A #0C0A3E #171373 #221CA8 #2D25DB

Accessibility & contrast

On white

15.25
#171373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171373
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171373#FFFFFF#000000##FFFFFF
##1713731.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171373;
/* rgb */ color: rgb(23, 19, 115);
/* oklch */ color: oklch(28.2% 0.154 272.3);
Tailwind
colors: {
  custom: {
    50: '#67539c',
    500: '#171373',
    950: '#000000',
  },
}
SCSS
$custom: #171373;
$custom-light: #67539c;
$custom-dark: #000000;
JSON
{
  "hex": "#171373",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 242.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2819,
    "c": 0.15394,
    "h": 272.3
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

primary
#171373
secondary
#A5AA38
accent
#EE39E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171373

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

Preview Lab → · Contrast checker → · Palette generator →

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