#17167A#17167A

#17167A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.160 H 271.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#17167A
RGBrgb(23, 22, 122)
HSLhsl(241, 69%, 28%)
HSVhsv(241, 82%, 48%)
CMYKcmyk(81.1%, 82%, 0%, 52.2%)
CIE-LABlab(16.31, 36.83, -55.28)
CIE-LCHlch(16.31, 66.43, 303.67°)
OKLaboklab(29.45% 0.0036 -0.16)
OKLCHoklch(29.45% 0.16 271.3)
XYZxyz(4.1519, 2.1607, 18.6068)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17167A #797A16
analogous
#16477A #17167A #49167A
triadic
#17167A #7A1716 #167A17
tetradic
#17167A #7A1647 #797A16 #167A49
square
#17167A #7A1647 #797A16 #167A49
split-complementary
#17167A #7A4916 #477A16
monochromatic
#05051A #0D0D46 #17167A #211FAE #3231DA

Accessibility & contrast

On white

14.66
#17167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#17167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17167A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17167A#FFFFFF#000000##FFFFFF
##17167A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002378
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17167a;
/* rgb */ color: rgb(23, 22, 122);
/* oklch */ color: oklch(29.4% 0.160 271.3);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#17167a',
    950: '#000000',
  },
}
SCSS
$custom: #17167a;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17167a",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 240.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29446,
    "c": 0.16008,
    "h": 271.3
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#17167A
secondary
#AEAF3D
accent
#EC3CEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17167A

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

Preview Lab → · Contrast checker → · Palette generator →

#17167A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva