#171655#171655

#171655 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.110 H 275.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#171655
RGBrgb(23, 22, 85)
HSLhsl(241, 59%, 21%)
HSVhsv(241, 74%, 33%)
CMYKcmyk(72.9%, 74.1%, 0%, 66.7%)
CIE-LABlab(12.04, 23.35, -37.95)
CIE-LCHlch(12.04, 44.56, 301.60°)
OKLaboklab(25.15% 0.0109 -0.1096)
OKLCHoklch(25.15% 0.11 275.7)
XYZxyz(2.2794, 1.4117, 8.7449)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171655 #545516
analogous
#163455 #171655 #361655
triadic
#171655 #551716 #165517
tetradic
#171655 #551634 #545516 #165536
square
#171655 #551634 #545516 #165536
split-complementary
#171655 #553616 #345516
monochromatic
#070618 #0A0924 #171655 #242386 #312FB6

Accessibility & contrast

On white

16.38
#171655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#171655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171655
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171655#FFFFFF#000000##FFFFFF
##1716551.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171655;
/* rgb */ color: rgb(23, 22, 85);
/* oklch */ color: oklch(25.1% 0.110 275.7);
Tailwind
colors: {
  custom: {
    50: '#5e5386',
    500: '#171655',
    950: '#000000',
  },
}
SCSS
$custom: #171655;
$custom-light: #5e5386;
$custom-dark: #000000;
JSON
{
  "hex": "#171655",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 240.952,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25145,
    "c": 0.11014,
    "h": 275.7
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#171655
secondary
#8B8C3A
accent
#E246E0
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171655

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

Preview Lab → · Contrast checker → · Palette generator →

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