#171167#171167

#171167 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.140 H 274.1°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#171167
RGBrgb(23, 17, 103)
HSLhsl(244, 72%, 24%)
HSVhsv(244, 83%, 40%)
CMYKcmyk(77.7%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.00, 33.05, -48.42)
CIE-LCHlch(13.00, 58.62, 304.32°)
OKLaboklab(26.45% 0.01 -0.14)
OKLCHoklch(26.45% 0.14 274.1)
XYZxyz(3.0012, 1.5620, 12.9727)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171167 #616711
analogous
#113667 #171167 #421167
triadic
#171167 #671711 #116717
tetradic
#171167 #671136 #616711 #116742
square
#171167 #671136 #616711 #116742
split-complementary
#171167 #674211 #366711
monochromatic
#06041A #0B0832 #171167 #231A9C #2E22D0

Accessibility & contrast

On white

16.00
#171167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#171167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171167
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171167#FFFFFF#000000##FFFFFF
##1711671.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001D66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #171167;
/* rgb */ color: rgb(23, 17, 103);
/* oklch */ color: oklch(26.4% 0.140 274.1);
Tailwind
colors: {
  custom: {
    50: '#645193',
    500: '#171167',
    950: '#000000',
  },
}
SCSS
$custom: #171167;
$custom-light: #645193;
$custom-dark: #000000;
JSON
{
  "hex": "#171167",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 244.186,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26445,
    "c": 0.14041,
    "h": 274.1
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#171167
secondary
#989F35
accent
#EE39E2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171167

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

Preview Lab → · Contrast checker → · Palette generator →

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