#171048#171048

#171048 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.099 H 280.7°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#171048
RGBrgb(23, 16, 72)
HSLhsl(248, 64%, 17%)
HSVhsv(248, 78%, 28%)
CMYKcmyk(68.1%, 77.8%, 0%, 71.8%)
CIE-LABlab(9.16, 22.51, -33.71)
CIE-LCHlch(9.16, 40.54, 303.73°)
OKLaboklab(22.66% 0.0183 -0.0972)
OKLCHoklch(22.66% 0.099 280.7)
XYZxyz(1.7080, 1.0205, 6.2366)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171048 #414810
analogous
#102548 #171048 #331048
triadic
#171048 #481710 #104817
tetradic
#171048 #481025 #414810 #104833
square
#171048 #481025 #414810 #104833
split-complementary
#171048 #483310 #254810
monochromatic
#080619 #080619 #171048 #271B7A #3726AC

Accessibility & contrast

On white

17.44
#171048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171048
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171048#FFFFFF#000000##FFFFFF
##1710481.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #171048;
/* rgb */ color: rgb(23, 16, 72);
/* oklch */ color: oklch(22.7% 0.099 280.7);
Tailwind
colors: {
  custom: {
    50: '#5b4f7c',
    500: '#171048',
    950: '#000000',
  },
}
SCSS
$custom: #171048;
$custom-light: #5b4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#171048",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 247.5,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22658,
    "c": 0.09889,
    "h": 280.7
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#171048
secondary
#788232
accent
#E741D2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #171048

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

Preview Lab → · Contrast checker → · Palette generator →

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