#171056#171056

#171056 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.3% C 0.119 H 277.3°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#171056
RGBrgb(23, 16, 86)
HSLhsl(246, 69%, 20%)
HSVhsv(246, 81%, 34%)
CMYKcmyk(73.3%, 81.4%, 0%, 66.3%)
CIE-LABlab(10.74, 27.64, -40.77)
CIE-LCHlch(10.74, 49.25, 304.13°)
OKLaboklab(24.25% 0.015 -0.1178)
OKLCHoklch(24.25% 0.119 277.3)
XYZxyz(2.2178, 1.2244, 8.9218)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171056 #4F5610
analogous
#102C56 #171056 #3A1056
triadic
#171056 #561710 #105617
tetradic
#171056 #56102C #4F5610 #10563A
square
#171056 #56102C #4F5610 #10563A
split-complementary
#171056 #563A10 #2C5610
monochromatic
#07051A #090622 #171056 #251A8A #3323BD

Accessibility & contrast

On white

16.87
#171056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#171056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171056
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171056#FFFFFF#000000##FFFFFF
##1710561.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171056;
/* rgb */ color: rgb(23, 16, 86);
/* oklch */ color: oklch(24.3% 0.119 277.3);
Tailwind
colors: {
  custom: {
    50: '#5f4f86',
    500: '#171056',
    950: '#000000',
  },
}
SCSS
$custom: #171056;
$custom-light: #5f4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#171056",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 246,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.24252,
    "c": 0.11876,
    "h": 277.3
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#171056
secondary
#868F32
accent
#EB3CDA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171056

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

Preview Lab → · Contrast checker → · Palette generator →

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