#171047#171047

#171047 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.5% C 0.097 H 281.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#171047
RGBrgb(23, 16, 71)
HSLhsl(248, 63%, 17%)
HSVhsv(248, 77%, 28%)
CMYKcmyk(67.6%, 77.5%, 0%, 72.2%)
CIE-LABlab(9.05, 22.14, -33.19)
CIE-LCHlch(9.05, 39.89, 303.70°)
OKLaboklab(22.55% 0.0185 -0.0956)
OKLCHoklch(22.55% 0.097 281)
XYZxyz(1.6756, 1.0076, 6.0662)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171047 #404710
analogous
#102547 #171047 #331047
triadic
#171047 #471710 #104717
tetradic
#171047 #471025 #404710 #104733
square
#171047 #471025 #404710 #104733
split-complementary
#171047 #473310 #254710
monochromatic
#080619 #080619 #171047 #271B79 #3727AB

Accessibility & contrast

On white

17.48
#171047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#171047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171047
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171047#FFFFFF#000000##FFFFFF
##1710471.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#001F2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #171047;
/* rgb */ color: rgb(23, 16, 71);
/* oklch */ color: oklch(22.5% 0.097 281.0);
Tailwind
colors: {
  custom: {
    50: '#5b4f7b',
    500: '#171047',
    950: '#000000',
  },
}
SCSS
$custom: #171047;
$custom-light: #5b4f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#171047",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 247.636,
    "s": 63.218,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22549,
    "c": 0.09742,
    "h": 281
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#171047
secondary
#778132
accent
#E642D1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #171047

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

Preview Lab → · Contrast checker → · Palette generator →

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