#171041#171041

#171041 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.088 H 282.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#171041
RGBrgb(23, 16, 65)
HSLhsl(249, 60%, 16%)
HSVhsv(249, 75%, 25%)
CMYKcmyk(64.6%, 75.4%, 0%, 74.5%)
CIE-LABlab(8.43, 19.90, -29.98)
CIE-LCHlch(8.43, 35.98, 303.57°)
OKLaboklab(21.91% 0.0196 -0.0862)
OKLCHoklch(21.91% 0.088 282.8)
XYZxyz(1.4925, 0.9343, 5.1017)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171041 #3A4110
analogous
#102141 #171041 #2F1041
triadic
#171041 #411710 #104117
tetradic
#171041 #411021 #3A4110 #10412F
square
#171041 #411021 #3A4110 #10412F
split-complementary
#171041 #412F10 #214110
monochromatic
#090619 #090619 #171041 #281C72 #3A28A3

Accessibility & contrast

On white

17.69
#171041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#171041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171041
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171041#FFFFFF#000000##FFFFFF
##1710411.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#031D26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #171041;
/* rgb */ color: rgb(23, 16, 65);
/* oklch */ color: oklch(21.9% 0.088 282.8);
Tailwind
colors: {
  custom: {
    50: '#5a4e76',
    500: '#171041',
    950: '#000000',
  },
}
SCSS
$custom: #171041;
$custom-light: #5a4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#171041",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 248.571,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21909,
    "c": 0.08843,
    "h": 282.8
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#171041
secondary
#717B32
accent
#E444CD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #171041

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

Preview Lab → · Contrast checker → · Palette generator →

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