#17166F#17166F

#17166F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.146 H 272.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#17166F
RGBrgb(23, 22, 111)
HSLhsl(241, 67%, 26%)
HSVhsv(241, 80%, 44%)
CMYKcmyk(79.3%, 80.2%, 0%, 56.5%)
CIE-LABlab(14.97, 32.98, -50.39)
CIE-LCHlch(14.97, 60.23, 303.21°)
OKLaboklab(28.12% 0.006 -0.1459)
OKLCHoklch(28.12% 0.146 272.3)
XYZxyz(3.5085, 1.9033, 15.2183)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17166F #6E6F16
analogous
#16416F #17166F #43166F
triadic
#17166F #6F1716 #166F17
tetradic
#17166F #6F1641 #6E6F16 #166F43
square
#17166F #6F1641 #6E6F16 #166F43
split-complementary
#17166F #6F4316 #416F16
monochromatic
#05051A #0C0C3C #17166F #2220A2 #2C2BD5

Accessibility & contrast

On white

15.21
#17166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#17166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17166F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17166F#FFFFFF#000000##FFFFFF
##17166F1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17166f;
/* rgb */ color: rgb(23, 22, 111);
/* oklch */ color: oklch(28.1% 0.146 272.3);
Tailwind
colors: {
  custom: {
    50: '#655599',
    500: '#17166f',
    950: '#000000',
  },
}
SCSS
$custom: #17166f;
$custom-light: #655599;
$custom-dark: #000000;
JSON
{
  "hex": "#17166f",
  "rgb": {
    "r": 23,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 240.674,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28116,
    "c": 0.14598,
    "h": 272.3
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#17166F
secondary
#A4A53C
accent
#EA3EE8
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17166F

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

Preview Lab → · Contrast checker → · Palette generator →

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