#17166C#17166C

#17166C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.142 H 272.7°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#17166C
RGBrgb(23, 22, 108)
HSLhsl(241, 66%, 25%)
HSVhsv(241, 80%, 42%)
CMYKcmyk(78.7%, 79.6%, 0%, 57.6%)
CIE-LABlab(14.61, 31.91, -49.03)
CIE-LCHlch(14.61, 58.50, 303.06°)
OKLaboklab(27.76% 0.0066 -0.1419)
OKLCHoklch(27.76% 0.142 272.7)
XYZxyz(3.3461, 1.8383, 14.3629)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17166C #6B6C16
analogous
#16406C #17166C #42166C
triadic
#17166C #6C1716 #166C17
tetradic
#17166C #6C1640 #6B6C16 #166C42
square
#17166C #6C1640 #6B6C16 #166C42
split-complementary
#17166C #6C4216 #406C16
monochromatic
#050519 #0C0C39 #17166C #22209F #2D2BD2

Accessibility & contrast

On white

15.35
#17166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17166C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17166C#FFFFFF#000000##FFFFFF
##17166C1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17166c;
/* rgb */ color: rgb(23, 22, 108);
/* oklch */ color: oklch(27.8% 0.142 272.7);
Tailwind
colors: {
  custom: {
    50: '#645597',
    500: '#17166c',
    950: '#000000',
  },
}
SCSS
$custom: #17166c;
$custom-light: #645597;
$custom-dark: #000000;
JSON
{
  "hex": "#17166c",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 240.698,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27759,
    "c": 0.14203,
    "h": 272.7
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#17166C
secondary
#A1A23C
accent
#E93FE7
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17166C

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

Preview Lab → · Contrast checker → · Palette generator →

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