#17164F#17164F

#17164F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.101 H 276.7°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#17164F
RGBrgb(23, 22, 79)
HSLhsl(241, 56%, 20%)
HSVhsv(241, 72%, 31%)
CMYKcmyk(70.9%, 72.2%, 0%, 69%)
CIE-LABlab(11.42, 21.03, -34.87)
CIE-LCHlch(11.42, 40.72, 301.09°)
OKLaboklab(24.51% 0.0117 -0.1006)
OKLCHoklch(24.51% 0.101 276.7)
XYZxyz(2.0511, 1.3203, 7.5424)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17164F #4E4F16
analogous
#16314F #17164F #34164F
triadic
#17164F #4F1716 #164F17
tetradic
#17164F #4F1631 #4E4F16 #164F34
square
#17164F #4F1631 #4E4F16 #164F34
split-complementary
#17164F #4F3416 #314F16
monochromatic
#070718 #09091F #17164F #25237F #3331AF

Accessibility & contrast

On white

16.61
#17164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17164F
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17164F#FFFFFF#000000##FFFFFF
##17164F1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #17164f;
/* rgb */ color: rgb(23, 22, 79);
/* oklch */ color: oklch(24.5% 0.101 276.7);
Tailwind
colors: {
  custom: {
    50: '#5d5381',
    500: '#17164f',
    950: '#000000',
  },
}
SCSS
$custom: #17164f;
$custom-light: #5d5381;
$custom-dark: #000000;
JSON
{
  "hex": "#17164f",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 241.053,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24508,
    "c": 0.10124,
    "h": 276.7
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#17164F
secondary
#85863A
accent
#E048DD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #17164F

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

Preview Lab → · Contrast checker → · Palette generator →

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