#17156C#17156C

#17156C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.143 H 272.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#17156C
RGBrgb(23, 21, 108)
HSLhsl(241, 67%, 25%)
HSVhsv(241, 81%, 42%)
CMYKcmyk(78.7%, 80.6%, 0%, 57.6%)
CIE-LABlab(14.41, 32.51, -49.37)
CIE-LCHlch(14.41, 59.11, 303.36°)
OKLaboklab(27.61% 0.0071 -0.1429)
OKLCHoklch(27.61% 0.143 272.8)
XYZxyz(3.3274, 1.8009, 14.3567)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17156C #6A6C15
analogous
#153F6C #17156C #42156C
triadic
#17156C #6C1715 #156C17
tetradic
#17156C #6C153F #6A6C15 #156C42
square
#17156C #6C153F #6A6C15 #156C42
split-complementary
#17156C #6C4215 #3F6C15
monochromatic
#05051A #0C0B39 #17156C #221F9F #2D29D2

Accessibility & contrast

On white

15.44
#17156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17156C
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17156C#FFFFFF#000000##FFFFFF
##17156C1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17156c;
/* rgb */ color: rgb(23, 21, 108);
/* oklch */ color: oklch(27.6% 0.143 272.8);
Tailwind
colors: {
  custom: {
    50: '#645497',
    500: '#17156c',
    950: '#000000',
  },
}
SCSS
$custom: #17156c;
$custom-light: #645497;
$custom-dark: #000000;
JSON
{
  "hex": "#17156c",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 241.379,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27611,
    "c": 0.14306,
    "h": 272.8
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#17156C
secondary
#A0A33A
accent
#EA3DE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17156C

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

Preview Lab → · Contrast checker → · Palette generator →

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