#171052#171052

#171052 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.113 H 278.2°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#171052
RGBrgb(23, 16, 82)
HSLhsl(246, 67%, 19%)
HSVhsv(246, 80%, 32%)
CMYKcmyk(72%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.27, 26.19, -38.81)
CIE-LCHlch(10.27, 46.81, 304.01°)
OKLaboklab(23.79% 0.016 -0.1121)
OKLCHoklch(23.79% 0.113 278.2)
XYZxyz(2.0611, 1.1618, 8.0966)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171052 #4B5210
analogous
#102A52 #171052 #381052
triadic
#171052 #521710 #105217
tetradic
#171052 #52102A #4B5210 #105238
square
#171052 #52102A #4B5210 #105238
split-complementary
#171052 #523810 #2A5210
monochromatic
#07051A #09061F #171052 #251A85 #3424B8

Accessibility & contrast

On white

17.04
#171052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #171052
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171052#FFFFFF#000000##FFFFFF
##1710521.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #171052;
/* rgb */ color: rgb(23, 16, 82);
/* oklch */ color: oklch(23.8% 0.113 278.2);
Tailwind
colors: {
  custom: {
    50: '#5e4f83',
    500: '#171052',
    950: '#000000',
  },
}
SCSS
$custom: #171052;
$custom-light: #5e4f83;
$custom-dark: #000000;
JSON
{
  "hex": "#171052",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 246.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23785,
    "c": 0.11321,
    "h": 278.2
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#171052
secondary
#828C32
accent
#EA3ED8
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #171052

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

Preview Lab → · Contrast checker → · Palette generator →

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