#171064#171064

#171064 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.137 H 274.7°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#171064
RGBrgb(23, 16, 100)
HSLhsl(245, 72%, 23%)
HSVhsv(245, 84%, 39%)
CMYKcmyk(77%, 84%, 0%, 60.8%)
CIE-LABlab(12.43, 32.56, -47.37)
CIE-LCHlch(12.43, 57.48, 304.51°)
OKLaboklab(25.94% 0.0113 -0.137)
OKLCHoklch(25.94% 0.137 274.7)
XYZxyz(2.8381, 1.4726, 12.1888)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171064 #5D6410
analogous
#103364 #171064 #411064
triadic
#171064 #641710 #106417
tetradic
#171064 #641033 #5D6410 #106441
square
#171064 #641033 #5D6410 #106441
split-complementary
#171064 #644110 #336410
monochromatic
#06041A #0B082F #171064 #231899 #2F21CE

Accessibility & contrast

On white

16.22
#171064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#171064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171064
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171064#FFFFFF#000000##FFFFFF
##1710641.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002466
Deuteranopia (green-blind)
#001C63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #171064;
/* rgb */ color: rgb(23, 16, 100);
/* oklch */ color: oklch(25.9% 0.137 274.7);
Tailwind
colors: {
  custom: {
    50: '#635091',
    500: '#171064',
    950: '#000000',
  },
}
SCSS
$custom: #171064;
$custom-light: #635091;
$custom-dark: #000000;
JSON
{
  "hex": "#171064",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 245,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25942,
    "c": 0.13745,
    "h": 274.7
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#171064
secondary
#949D33
accent
#EF39E0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #171064

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

Preview Lab → · Contrast checker → · Palette generator →

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