#171356#171356

#171356 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.7% C 0.115 H 276.5°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#171356
RGBrgb(23, 19, 86)
HSLhsl(244, 64%, 21%)
HSVhsv(244, 78%, 34%)
CMYKcmyk(73.3%, 77.9%, 0%, 66.3%)
CIE-LABlab(11.41, 25.74, -39.66)
CIE-LCHlch(11.41, 47.28, 302.98°)
OKLaboklab(24.73% 0.013 -0.1146)
OKLCHoklch(24.73% 0.115 276.5)
XYZxyz(2.2654, 1.3196, 8.9376)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171356 #525613
analogous
#133056 #171356 #381356
triadic
#171356 #561713 #135617
tetradic
#171356 #561330 #525613 #135638
square
#171356 #561330 #525613 #135638
split-complementary
#171356 #563813 #305613
monochromatic
#070619 #0A0824 #171356 #241E88 #3229BA

Accessibility & contrast

On white

16.61
#171356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171356
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171356#FFFFFF#000000##FFFFFF
##1713561.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001B55
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #171356;
/* rgb */ color: rgb(23, 19, 86);
/* oklch */ color: oklch(24.7% 0.115 276.5);
Tailwind
colors: {
  custom: {
    50: '#5f5186',
    500: '#171356',
    950: '#000000',
  },
}
SCSS
$custom: #171356;
$custom-light: #5f5186;
$custom-dark: #000000;
JSON
{
  "hex": "#171356",
  "rgb": {
    "r": 23,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 243.582,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24731,
    "c": 0.11531,
    "h": 276.5
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#171356
secondary
#898E36
accent
#E741DD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171356

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

Preview Lab → · Contrast checker → · Palette generator →

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