#17166D#17166D

#17166D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.143 H 272.6°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#17166D
RGBrgb(23, 22, 109)
HSLhsl(241, 66%, 26%)
HSVhsv(241, 80%, 43%)
CMYKcmyk(78.9%, 79.8%, 0%, 57.3%)
CIE-LABlab(14.73, 32.27, -49.48)
CIE-LCHlch(14.73, 59.08, 303.11°)
OKLaboklab(27.88% 0.0064 -0.1432)
OKLCHoklch(27.88% 0.143 272.6)
XYZxyz(3.3996, 1.8597, 14.6448)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17166D #6C6D16
analogous
#16406D #17166D #42166D
triadic
#17166D #6D1716 #166D17
tetradic
#17166D #6D1640 #6C6D16 #166D42
square
#17166D #6D1640 #6C6D16 #166D42
split-complementary
#17166D #6D4216 #406D16
monochromatic
#050519 #0C0C3A #17166D #2220A0 #2C2BD3

Accessibility & contrast

On white

15.31
#17166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#17166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17166D
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17166D#FFFFFF#000000##FFFFFF
##17166D1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17166d;
/* rgb */ color: rgb(23, 22, 109);
/* oklch */ color: oklch(27.9% 0.143 272.6);
Tailwind
colors: {
  custom: {
    50: '#655598',
    500: '#17166d',
    950: '#000000',
  },
}
SCSS
$custom: #17166d;
$custom-light: #655598;
$custom-dark: #000000;
JSON
{
  "hex": "#17166d",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 240.69,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27878,
    "c": 0.14335,
    "h": 272.6
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#17166D
secondary
#A2A33C
accent
#E93EE7
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17166D

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

Preview Lab → · Contrast checker → · Palette generator →

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