#17164E#17164E

#17164E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.4% C 0.100 H 276.8°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#17164E
RGBrgb(23, 22, 78)
HSLhsl(241, 56%, 20%)
HSVhsv(241, 72%, 31%)
CMYKcmyk(70.5%, 71.8%, 0%, 69.4%)
CIE-LABlab(11.32, 20.64, -34.34)
CIE-LCHlch(11.32, 40.07, 301.00°)
OKLaboklab(24.4% 0.0119 -0.099)
OKLCHoklch(24.4% 0.1 276.8)
XYZxyz(2.0150, 1.3059, 7.3521)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17164E #4D4E16
analogous
#16314E #17164E #33164E
triadic
#17164E #4E1716 #164E17
tetradic
#17164E #4E1631 #4D4E16 #164E33
square
#17164E #4E1631 #4D4E16 #164E33
split-complementary
#17164E #4E3316 #314E16
monochromatic
#070718 #09091E #17164E #25237E #3331AD

Accessibility & contrast

On white

16.65
#17164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#17164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17164E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17164E#FFFFFF#000000##FFFFFF
##17164E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #17164e;
/* rgb */ color: rgb(23, 22, 78);
/* oklch */ color: oklch(24.4% 0.100 276.8);
Tailwind
colors: {
  custom: {
    50: '#5c5380',
    500: '#17164e',
    950: '#000000',
  },
}
SCSS
$custom: #17164e;
$custom-light: #5c5380;
$custom-dark: #000000;
JSON
{
  "hex": "#17164e",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 241.071,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24404,
    "c": 0.09974,
    "h": 276.8
  },
  "luminance": 0.01306
}

Semantic roles & 50–950 ramp

primary
#17164E
secondary
#84853A
accent
#DF49DD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17164E

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

Preview Lab → · Contrast checker → · Palette generator →

#17164E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva