#17156D#17156D

#17156D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.144 H 272.7°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#17156D
RGBrgb(23, 21, 109)
HSLhsl(241, 68%, 25%)
HSVhsv(241, 81%, 43%)
CMYKcmyk(78.9%, 80.7%, 0%, 57.3%)
CIE-LABlab(14.53, 32.86, -49.83)
CIE-LCHlch(14.53, 59.69, 303.41°)
OKLaboklab(27.73% 0.0069 -0.1442)
OKLCHoklch(27.73% 0.144 272.7)
XYZxyz(3.3809, 1.8223, 14.6386)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17156D #6B6D15
analogous
#153F6D #17156D #43156D
triadic
#17156D #6D1715 #156D17
tetradic
#17156D #6D153F #6B6D15 #156D43
square
#17156D #6D153F #6B6D15 #156D43
split-complementary
#17156D #6D4315 #3F6D15
monochromatic
#05051A #0C0B3A #17156D #221FA0 #2D29D4

Accessibility & contrast

On white

15.39
#17156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#17156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17156D
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17156D#FFFFFF#000000##FFFFFF
##17156D1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17156d;
/* rgb */ color: rgb(23, 21, 109);
/* oklch */ color: oklch(27.7% 0.144 272.7);
Tailwind
colors: {
  custom: {
    50: '#655498',
    500: '#17156d',
    950: '#000000',
  },
}
SCSS
$custom: #17156d;
$custom-light: #655498;
$custom-dark: #000000;
JSON
{
  "hex": "#17156d",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 241.364,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27731,
    "c": 0.14436,
    "h": 272.7
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#17156D
secondary
#A1A33A
accent
#EB3DE7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17156D

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

Preview Lab → · Contrast checker → · Palette generator →

#17156D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva