#17164D#17164D

#17164D is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.098 H 277.0°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#17164D
RGBrgb(23, 22, 77)
HSLhsl(241, 56%, 19%)
HSVhsv(241, 71%, 30%)
CMYKcmyk(70.1%, 71.4%, 0%, 69.8%)
CIE-LABlab(11.22, 20.25, -33.82)
CIE-LCHlch(11.22, 39.42, 300.91°)
OKLaboklab(24.3% 0.012 -0.0975)
OKLCHoklch(24.3% 0.098 277)
XYZxyz(1.9794, 1.2916, 7.1647)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17164D #4C4D16
analogous
#16314D #17164D #33164D
triadic
#17164D #4D1716 #164D17
tetradic
#17164D #4D1631 #4C4D16 #164D33
square
#17164D #4D1631 #4C4D16 #164D33
split-complementary
#17164D #4D3316 #314D16
monochromatic
#070718 #09081D #17164D #25247D #3331AC

Accessibility & contrast

On white

16.69
#17164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17164D
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17164D#FFFFFF#000000##FFFFFF
##17164D1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17164d;
/* rgb */ color: rgb(23, 22, 77);
/* oklch */ color: oklch(24.3% 0.098 277.0);
Tailwind
colors: {
  custom: {
    50: '#5c537f',
    500: '#17164d',
    950: '#000000',
  },
}
SCSS
$custom: #17164d;
$custom-light: #5c537f;
$custom-dark: #000000;
JSON
{
  "hex": "#17164d",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 241.091,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24301,
    "c": 0.09821,
    "h": 277
  },
  "luminance": 0.01292
}

Semantic roles & 50–950 ramp

primary
#17164D
secondary
#83853A
accent
#DF49DC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17164D

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

Preview Lab → · Contrast checker → · Palette generator →

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