#171664#171664

#171664 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.131 H 273.6°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#171664
RGBrgb(23, 22, 100)
HSLhsl(241, 64%, 24%)
HSVhsv(241, 78%, 39%)
CMYKcmyk(77%, 78%, 0%, 60.8%)
CIE-LABlab(13.68, 29.00, -45.30)
CIE-LCHlch(13.68, 53.78, 302.63°)
OKLaboklab(26.82% 0.0083 -0.131)
OKLCHoklch(26.82% 0.131 273.6)
XYZxyz(2.9397, 1.6758, 12.2227)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171664 #636416
analogous
#163C64 #171664 #3E1664
triadic
#171664 #641716 #166417
tetradic
#171664 #64163C #636416 #16643E
square
#171664 #64163C #636416 #16643E
split-complementary
#171664 #643E16 #3C6416
monochromatic
#060619 #0B0B32 #171664 #232196 #2E2CC8

Accessibility & contrast

On white

15.73
#171664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#171664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171664
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171664#FFFFFF#000000##FFFFFF
##1716641.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #171664;
/* rgb */ color: rgb(23, 22, 100);
/* oklch */ color: oklch(26.8% 0.131 273.6);
Tailwind
colors: {
  custom: {
    50: '#625491',
    500: '#171664',
    950: '#000000',
  },
}
SCSS
$custom: #171664;
$custom-light: #625491;
$custom-dark: #000000;
JSON
{
  "hex": "#171664",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 240.769,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26824,
    "c": 0.1313,
    "h": 273.6
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#171664
secondary
#9A9B3B
accent
#E741E5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #171664

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

Preview Lab → · Contrast checker → · Palette generator →

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