#171071#171071

#171071 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.6% C 0.154 H 272.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#171071
RGBrgb(23, 16, 113)
HSLhsl(244, 75%, 25%)
HSVhsv(244, 86%, 44%)
CMYKcmyk(79.6%, 85.8%, 0%, 55.7%)
CIE-LABlab(14.09, 36.96, -53.16)
CIE-LCHlch(14.09, 64.75, 304.81°)
OKLaboklab(27.57% 0.0077 -0.1538)
OKLCHoklch(27.57% 0.154 272.9)
XYZxyz(3.5183, 1.7446, 15.7709)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171071 #6A7110
analogous
#103971 #171071 #471071
triadic
#171071 #711710 #107117
tetradic
#171071 #711039 #6A7110 #107147
square
#171071 #711039 #6A7110 #107147
split-complementary
#171071 #714710 #397110
monochromatic
#05041B #0C083B #171071 #2218A7 #2D1FDC

Accessibility & contrast

On white

15.57
#171071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#171071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171071
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171071#FFFFFF#000000##FFFFFF
##1710711.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #171071;
/* rgb */ color: rgb(23, 16, 113);
/* oklch */ color: oklch(27.6% 0.154 272.9);
Tailwind
colors: {
  custom: {
    50: '#66519b',
    500: '#171071',
    950: '#000000',
  },
}
SCSS
$custom: #171071;
$custom-light: #66519b;
$custom-dark: #000000;
JSON
{
  "hex": "#171071",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 244.33,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2757,
    "c": 0.15398,
    "h": 272.9
  },
  "luminance": 0.01745
}

Semantic roles & 50–950 ramp

primary
#171071
secondary
#A0A934
accent
#F236E4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171071

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

Preview Lab → · Contrast checker → · Palette generator →

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