#17166A#17166A

#17166A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.139 H 272.9°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#17166A
RGBrgb(23, 22, 106)
HSLhsl(241, 66%, 25%)
HSVhsv(241, 79%, 42%)
CMYKcmyk(78.3%, 79.2%, 0%, 58.4%)
CIE-LABlab(14.38, 31.19, -48.11)
CIE-LCHlch(14.38, 57.33, 302.96°)
OKLaboklab(27.52% 0.0071 -0.1392)
OKLCHoklch(27.52% 0.139 272.9)
XYZxyz(3.2409, 1.7962, 13.8088)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17166A #696A16
analogous
#163F6A #17166A #41166A
triadic
#17166A #6A1716 #166A17
tetradic
#17166A #6A163F #696A16 #166A41
square
#17166A #6A163F #696A16 #166A41
split-complementary
#17166A #6A4116 #3F6A16
monochromatic
#050519 #0C0B37 #17166A #22219D #2D2BCF

Accessibility & contrast

On white

15.45
#17166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#17166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17166A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17166A#FFFFFF#000000##FFFFFF
##17166A1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17166a;
/* rgb */ color: rgb(23, 22, 106);
/* oklch */ color: oklch(27.5% 0.139 272.9);
Tailwind
colors: {
  custom: {
    50: '#645496',
    500: '#17166a',
    950: '#000000',
  },
}
SCSS
$custom: #17166a;
$custom-light: #645496;
$custom-dark: #000000;
JSON
{
  "hex": "#17166a",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 240.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27523,
    "c": 0.13939,
    "h": 272.9
  },
  "luminance": 0.01797
}

Semantic roles & 50–950 ramp

primary
#17166A
secondary
#9FA03B
accent
#E93FE7
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #17166A

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

Preview Lab → · Contrast checker → · Palette generator →

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