#17167B#17167B

#17167B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.161 H 271.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#17167B
RGBrgb(23, 22, 123)
HSLhsl(241, 70%, 28%)
HSVhsv(241, 82%, 48%)
CMYKcmyk(81.3%, 82.1%, 0%, 51.8%)
CIE-LABlab(16.43, 37.17, -55.72)
CIE-LCHlch(16.43, 66.98, 303.71°)
OKLaboklab(29.57% 0.0033 -0.1613)
OKLCHoklch(29.57% 0.161 271.2)
XYZxyz(4.2142, 2.1856, 18.9348)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17167B #7A7B16
analogous
#16477B #17167B #49167B
triadic
#17167B #7B1716 #167B17
tetradic
#17167B #7B1647 #7A7B16 #167B49
square
#17167B #7B1647 #7A7B16 #167B49
split-complementary
#17167B #7B4916 #477B16
monochromatic
#05051A #0D0D47 #17167B #211FAF #3331DA

Accessibility & contrast

On white

14.61
#17167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#17167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17167B
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17167B#FFFFFF#000000##FFFFFF
##17167B1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #17167b;
/* rgb */ color: rgb(23, 22, 123);
/* oklch */ color: oklch(29.6% 0.161 271.2);
Tailwind
colors: {
  custom: {
    50: '#6956a2',
    500: '#17167b',
    950: '#000000',
  },
}
SCSS
$custom: #17167b;
$custom-light: #6956a2;
$custom-dark: #000000;
JSON
{
  "hex": "#17167b",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 240.594,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29568,
    "c": 0.16133,
    "h": 271.2
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#17167B
secondary
#AFB03D
accent
#EC3BEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #17167B

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

Preview Lab → · Contrast checker → · Palette generator →

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