#171066#171066

#171066 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.140 H 274.4°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#171066
RGBrgb(23, 16, 102)
HSLhsl(245, 73%, 23%)
HSVhsv(245, 84%, 40%)
CMYKcmyk(77.5%, 84.3%, 0%, 60%)
CIE-LABlab(12.68, 33.25, -48.28)
CIE-LCHlch(12.68, 58.62, 304.56°)
OKLaboklab(26.19% 0.0107 -0.1396)
OKLCHoklch(26.19% 0.14 274.4)
XYZxyz(2.9361, 1.5118, 12.7049)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171066 #5F6610
analogous
#103466 #171066 #421066
triadic
#171066 #661710 #106617
tetradic
#171066 #661034 #5F6610 #106642
square
#171066 #661034 #5F6610 #106642
split-complementary
#171066 #664210 #346610
monochromatic
#06041A #0B0831 #171066 #23189B #2F21D0

Accessibility & contrast

On white

16.12
#171066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#171066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171066
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171066#FFFFFF#000000##FFFFFF
##1710661.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #171066;
/* rgb */ color: rgb(23, 16, 102);
/* oklch */ color: oklch(26.2% 0.140 274.4);
Tailwind
colors: {
  custom: {
    50: '#635193',
    500: '#171066',
    950: '#000000',
  },
}
SCSS
$custom: #171066;
$custom-light: #635193;
$custom-dark: #000000;
JSON
{
  "hex": "#171066",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 244.884,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26189,
    "c": 0.14004,
    "h": 274.4
  },
  "luminance": 0.01512
}

Semantic roles & 50–950 ramp

primary
#171066
secondary
#969E33
accent
#F038E1
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171066

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

Preview Lab → · Contrast checker → · Palette generator →

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