#171055#171055

#171055 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.117 H 277.5°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#171055
RGBrgb(23, 16, 85)
HSLhsl(246, 68%, 20%)
HSVhsv(246, 81%, 33%)
CMYKcmyk(72.9%, 81.2%, 0%, 66.7%)
CIE-LABlab(10.62, 27.28, -40.28)
CIE-LCHlch(10.62, 48.65, 304.10°)
OKLaboklab(24.14% 0.0153 -0.1164)
OKLCHoklch(24.14% 0.117 277.5)
XYZxyz(2.1778, 1.2084, 8.7111)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171055 #4E5510
analogous
#102C55 #171055 #3A1055
triadic
#171055 #551710 #105517
tetradic
#171055 #55102C #4E5510 #10553A
square
#171055 #55102C #4E5510 #10553A
split-complementary
#171055 #553A10 #2C5510
monochromatic
#07051A #090621 #171055 #251A89 #3323BC

Accessibility & contrast

On white

16.91
#171055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171055
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171055#FFFFFF#000000##FFFFFF
##1710551.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001A54
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #171055;
/* rgb */ color: rgb(23, 16, 85);
/* oklch */ color: oklch(24.1% 0.117 277.5);
Tailwind
colors: {
  custom: {
    50: '#5f4f86',
    500: '#171055',
    950: '#000000',
  },
}
SCSS
$custom: #171055;
$custom-light: #5f4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#171055",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 246.087,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24135,
    "c": 0.11738,
    "h": 277.5
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#171055
secondary
#858F32
accent
#EB3DD9
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171055

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

Preview Lab → · Contrast checker → · Palette generator →

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