#171473#171473

#171473 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.153 H 272.2°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#171473
RGBrgb(23, 20, 115)
HSLhsl(242, 70%, 26%)
HSVhsv(242, 83%, 45%)
CMYKcmyk(80%, 82.6%, 0%, 54.9%)
CIE-LABlab(15.06, 35.53, -52.84)
CIE-LCHlch(15.06, 63.67, 303.91°)
OKLaboklab(28.32% 0.0059 -0.1529)
OKLCHoklch(28.32% 0.153 272.2)
XYZxyz(3.6970, 1.9199, 16.3921)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171473 #707314
analogous
#144173 #171473 #471473
triadic
#171473 #731714 #147317
tetradic
#171473 #731441 #707314 #147347
square
#171473 #731441 #707314 #147347
split-complementary
#171473 #734714 #417314
monochromatic
#05051A #0D0B3F #171473 #211DA7 #2D28DA

Accessibility & contrast

On white

15.17
#171473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171473
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171473#FFFFFF#000000##FFFFFF
##1714731.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171473;
/* rgb */ color: rgb(23, 20, 115);
/* oklch */ color: oklch(28.3% 0.153 272.2);
Tailwind
colors: {
  custom: {
    50: '#67549c',
    500: '#171473',
    950: '#000000',
  },
}
SCSS
$custom: #171473;
$custom-light: #67549c;
$custom-dark: #000000;
JSON
{
  "hex": "#171473",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 241.895,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28321,
    "c": 0.15304,
    "h": 272.2
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#171473
secondary
#A6A93A
accent
#ED3BE8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #171473

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

Preview Lab → · Contrast checker → · Palette generator →

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