#171659#171659

#171659 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.116 H 275.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#171659
RGBrgb(23, 22, 89)
HSLhsl(241, 60%, 22%)
HSVhsv(241, 75%, 35%)
CMYKcmyk(74.2%, 75.3%, 0%, 65.1%)
CIE-LABlab(12.46, 24.88, -39.96)
CIE-LCHlch(12.46, 47.07, 301.90°)
OKLaboklab(25.58% 0.0103 -0.1155)
OKLCHoklch(25.58% 0.116 275.1)
XYZxyz(2.4428, 1.4770, 9.6056)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171659 #585916
analogous
#163759 #171659 #391659
triadic
#171659 #591716 #165917
tetradic
#171659 #591637 #585916 #165939
square
#171659 #591637 #585916 #165939
split-complementary
#171659 #593916 #375916
monochromatic
#060619 #0A0A28 #171659 #24228A #302EBB

Accessibility & contrast

On white

16.21
#171659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#171659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171659
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171659#FFFFFF#000000##FFFFFF
##1716591.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#001D58
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171659;
/* rgb */ color: rgb(23, 22, 89);
/* oklch */ color: oklch(25.6% 0.116 275.1);
Tailwind
colors: {
  custom: {
    50: '#5f5389',
    500: '#171659',
    950: '#000000',
  },
}
SCSS
$custom: #171659;
$custom-light: #5f5389;
$custom-dark: #000000;
JSON
{
  "hex": "#171659",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 240.896,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25582,
    "c": 0.11593,
    "h": 275.1
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#171659
secondary
#8F903B
accent
#E444E1
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #171659

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

Preview Lab → · Contrast checker → · Palette generator →

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