#171050#171050

#171050 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.110 H 278.6°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#171050
RGBrgb(23, 16, 80)
HSLhsl(247, 67%, 19%)
HSVhsv(247, 80%, 31%)
CMYKcmyk(71.2%, 80%, 0%, 68.6%)
CIE-LABlab(10.04, 25.46, -37.81)
CIE-LCHlch(10.04, 45.58, 303.95°)
OKLaboklab(23.56% 0.0165 -0.1092)
OKLCHoklch(23.56% 0.11 278.6)
XYZxyz(1.9861, 1.1318, 7.7016)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171050 #495010
analogous
#102950 #171050 #371050
triadic
#171050 #501710 #105017
tetradic
#171050 #501029 #495010 #105037
square
#171050 #501029 #495010 #105037
split-complementary
#171050 #503710 #295010
monochromatic
#07051A #08061D #171050 #261A83 #3424B6

Accessibility & contrast

On white

17.12
#171050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#171050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171050
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171050#FFFFFF#000000##FFFFFF
##1710501.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #171050;
/* rgb */ color: rgb(23, 16, 80);
/* oklch */ color: oklch(23.6% 0.110 278.6);
Tailwind
colors: {
  custom: {
    50: '#5d4f82',
    500: '#171050',
    950: '#000000',
  },
}
SCSS
$custom: #171050;
$custom-light: #5d4f82;
$custom-dark: #000000;
JSON
{
  "hex": "#171050",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 246.563,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23555,
    "c": 0.1104,
    "h": 278.6
  },
  "luminance": 0.01132
}

Semantic roles & 50–950 ramp

primary
#171050
secondary
#808A32
accent
#EA3ED7
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020A
muted
#79787C

Preview Lab

Preview with #171050

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

Preview Lab → · Contrast checker → · Palette generator →

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