#171081#171081

#171081 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.173 H 271.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#171081
RGBrgb(23, 16, 129)
HSLhsl(244, 78%, 28%)
HSVhsv(244, 88%, 51%)
CMYKcmyk(82.2%, 87.6%, 0%, 49.4%)
CIE-LABlab(16.19, 42.12, -59.94)
CIE-LCHlch(16.19, 73.26, 305.10°)
OKLaboklab(29.62% 0.0034 -0.1734)
OKLCHoklch(29.62% 0.173 271.1)
XYZxyz(4.4998, 2.1372, 20.9400)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171081 #7A8110
analogous
#104181 #171081 #4F1081
triadic
#171081 #811710 #108117
tetradic
#171081 #811041 #7A8110 #10814F
square
#171081 #811041 #7A8110 #10814F
split-complementary
#171081 #814F10 #418110
monochromatic
#05031B #0D094B #171081 #2117B7 #3327E4

Accessibility & contrast

On white

14.71
#171081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#171081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171081
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171081#FFFFFF#000000##FFFFFF
##1710811.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00227F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #171081;
/* rgb */ color: rgb(23, 16, 129);
/* oklch */ color: oklch(29.6% 0.173 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b53a7',
    500: '#171081',
    950: '#000000',
  },
}
SCSS
$custom: #171081;
$custom-light: #6b53a7;
$custom-dark: #000000;
JSON
{
  "hex": "#171081",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 243.717,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29623,
    "c": 0.17344,
    "h": 271.1
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#171081
secondary
#AFB736
accent
#F433E8
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #171081

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

Preview Lab → · Contrast checker → · Palette generator →

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