#171054#171054

#171054 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.116 H 277.7°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#171054
RGBrgb(23, 16, 84)
HSLhsl(246, 68%, 20%)
HSVhsv(246, 81%, 33%)
CMYKcmyk(72.6%, 81%, 0%, 67.1%)
CIE-LABlab(10.50, 26.92, -39.79)
CIE-LCHlch(10.50, 48.04, 304.07°)
OKLaboklab(24.02% 0.0156 -0.1149)
OKLCHoklch(24.02% 0.116 277.7)
XYZxyz(2.1384, 1.1926, 8.5033)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171054 #4D5410
analogous
#102B54 #171054 #391054
triadic
#171054 #541710 #105417
tetradic
#171054 #54102B #4D5410 #105439
square
#171054 #54102B #4D5410 #105439
split-complementary
#171054 #543910 #2B5410
monochromatic
#07051A #090621 #171054 #251A87 #3324BB

Accessibility & contrast

On white

16.95
#171054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#171054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171054
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171054#FFFFFF#000000##FFFFFF
##1710541.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #171054;
/* rgb */ color: rgb(23, 16, 84);
/* oklch */ color: oklch(24.0% 0.116 277.7);
Tailwind
colors: {
  custom: {
    50: '#5e4f85',
    500: '#171054',
    950: '#000000',
  },
}
SCSS
$custom: #171054;
$custom-light: #5e4f85;
$custom-dark: #000000;
JSON
{
  "hex": "#171054",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 246.176,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24018,
    "c": 0.116,
    "h": 277.7
  },
  "luminance": 0.01193
}

Semantic roles & 50–950 ramp

primary
#171054
secondary
#848E32
accent
#EB3DD9
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171054

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

Preview Lab → · Contrast checker → · Palette generator →

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