#171354#171354

#171354 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.112 H 276.9°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#171354
RGBrgb(23, 19, 84)
HSLhsl(244, 63%, 20%)
HSVhsv(244, 77%, 33%)
CMYKcmyk(72.6%, 77.4%, 0%, 67.1%)
CIE-LABlab(11.19, 24.99, -38.66)
CIE-LCHlch(11.19, 46.04, 302.88°)
OKLaboklab(24.51% 0.0134 -0.1117)
OKLCHoklch(24.51% 0.112 276.9)
XYZxyz(2.1859, 1.2878, 8.5192)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171354 #505413
analogous
#133054 #171354 #371354
triadic
#171354 #541713 #135417
tetradic
#171354 #541330 #505413 #135437
square
#171354 #541330 #505413 #135437
split-complementary
#171354 #543713 #305413
monochromatic
#070619 #090822 #171354 #251E86 #322AB8

Accessibility & contrast

On white

16.70
#171354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#171354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171354
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171354#FFFFFF#000000##FFFFFF
##1713541.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002156
Deuteranopia (green-blind)
#001B53
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171354;
/* rgb */ color: rgb(23, 19, 84);
/* oklch */ color: oklch(24.5% 0.112 276.9);
Tailwind
colors: {
  custom: {
    50: '#5e5185',
    500: '#171354',
    950: '#000000',
  },
}
SCSS
$custom: #171354;
$custom-light: #5e5185;
$custom-dark: #000000;
JSON
{
  "hex": "#171354",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 243.692,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24506,
    "c": 0.11247,
    "h": 276.9
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#171354
secondary
#878C36
accent
#E642DC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171354

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

Preview Lab → · Contrast checker → · Palette generator →

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