#171168#171168

#171168 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.142 H 274.0°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#171168
RGBrgb(23, 17, 104)
HSLhsl(244, 72%, 24%)
HSVhsv(244, 84%, 41%)
CMYKcmyk(77.9%, 83.7%, 0%, 59.2%)
CIE-LABlab(13.12, 33.39, -48.87)
CIE-LCHlch(13.12, 59.19, 304.34°)
OKLaboklab(26.57% 0.0098 -0.1414)
OKLCHoklch(26.57% 0.142 274)
XYZxyz(3.0517, 1.5822, 13.2386)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171168 #626811
analogous
#113668 #171168 #421168
triadic
#171168 #681711 #116817
tetradic
#171168 #681136 #626811 #116842
square
#171168 #681136 #626811 #116842
split-complementary
#171168 #684211 #366811
monochromatic
#06041A #0B0833 #171168 #231A9D #2E22D1

Accessibility & contrast

On white

15.95
#171168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#171168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171168
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171168#FFFFFF#000000##FFFFFF
##1711681.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266A
Deuteranopia (green-blind)
#001E67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171168;
/* rgb */ color: rgb(23, 17, 104);
/* oklch */ color: oklch(26.6% 0.142 274.0);
Tailwind
colors: {
  custom: {
    50: '#645194',
    500: '#171168',
    950: '#000000',
  },
}
SCSS
$custom: #171168;
$custom-light: #645194;
$custom-dark: #000000;
JSON
{
  "hex": "#171168",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 244.138,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26568,
    "c": 0.14171,
    "h": 274
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#171168
secondary
#99A035
accent
#EF39E2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171168

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

Preview Lab → · Contrast checker → · Palette generator →

#171168 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva