#171656#171656

#171656 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.3% C 0.112 H 275.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#171656
RGBrgb(23, 22, 86)
HSLhsl(241, 59%, 21%)
HSVhsv(241, 74%, 34%)
CMYKcmyk(73.3%, 74.4%, 0%, 66.3%)
CIE-LABlab(12.14, 23.73, -38.46)
CIE-LCHlch(12.14, 45.19, 301.68°)
OKLaboklab(25.25% 0.0108 -0.1111)
OKLCHoklch(25.25% 0.112 275.5)
XYZxyz(2.3194, 1.4277, 8.9556)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171656 #555616
analogous
#163556 #171656 #371656
triadic
#171656 #561716 #165617
tetradic
#171656 #561635 #555616 #165637
square
#171656 #561635 #555616 #165637
split-complementary
#171656 #563716 #355616
monochromatic
#070618 #0A0A25 #171656 #242287 #312FB7

Accessibility & contrast

On white

16.33
#171656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171656
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171656#FFFFFF#000000##FFFFFF
##1716561.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#002734
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171656;
/* rgb */ color: rgb(23, 22, 86);
/* oklch */ color: oklch(25.3% 0.112 275.5);
Tailwind
colors: {
  custom: {
    50: '#5e5386',
    500: '#171656',
    950: '#000000',
  },
}
SCSS
$custom: #171656;
$custom-light: #5e5386;
$custom-dark: #000000;
JSON
{
  "hex": "#171656",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 240.938,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25253,
    "c": 0.1116,
    "h": 275.5
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#171656
secondary
#8C8D3A
accent
#E245E0
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171656

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

Preview Lab → · Contrast checker → · Palette generator →

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