#171660#171660

#171660 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.126 H 274.1°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#171660
RGBrgb(23, 22, 96)
HSLhsl(241, 63%, 23%)
HSVhsv(241, 77%, 38%)
CMYKcmyk(76%, 77.1%, 0%, 62.4%)
CIE-LABlab(13.23, 27.52, -43.39)
CIE-LCHlch(13.23, 51.38, 302.38°)
OKLaboklab(26.37% 0.0091 -0.1255)
OKLCHoklch(26.37% 0.126 274.1)
XYZxyz(2.7509, 1.6002, 11.2280)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171660 #5F6016
analogous
#163A60 #171660 #3C1660
triadic
#171660 #601716 #166017
tetradic
#171660 #60163A #5F6016 #16603C
square
#171660 #60163A #5F6016 #16603C
split-complementary
#171660 #603C16 #3A6016
monochromatic
#060619 #0B0B2E #171660 #232192 #2F2DC4

Accessibility & contrast

On white

15.91
#171660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#171660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171660
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171660#FFFFFF#000000##FFFFFF
##1716601.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171660;
/* rgb */ color: rgb(23, 22, 96);
/* oklch */ color: oklch(26.4% 0.126 274.1);
Tailwind
colors: {
  custom: {
    50: '#61548e',
    500: '#171660',
    950: '#000000',
  },
}
SCSS
$custom: #171660;
$custom-light: #61548e;
$custom-dark: #000000;
JSON
{
  "hex": "#171660",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 240.811,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26366,
    "c": 0.1258,
    "h": 274.1
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#171660
secondary
#96973B
accent
#E642E4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #171660

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

Preview Lab → · Contrast checker → · Palette generator →

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