#17156F#17156F

#17156F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.147 H 272.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#17156F
RGBrgb(23, 21, 111)
HSLhsl(241, 68%, 26%)
HSVhsv(241, 81%, 44%)
CMYKcmyk(79.3%, 81.1%, 0%, 56.5%)
CIE-LABlab(14.77, 33.57, -50.73)
CIE-LCHlch(14.77, 60.83, 303.49°)
OKLaboklab(27.97% 0.0064 -0.1468)
OKLCHoklch(27.97% 0.147 272.5)
XYZxyz(3.4898, 1.8658, 15.2121)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17156F #6D6F15
analogous
#15406F #17156F #44156F
triadic
#17156F #6F1715 #156F17
tetradic
#17156F #6F1540 #6D6F15 #156F44
square
#17156F #6F1540 #6D6F15 #156F44
split-complementary
#17156F #6F4415 #406F15
monochromatic
#05051A #0C0B3C #17156F #221FA2 #2C28D6

Accessibility & contrast

On white

15.29
#17156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#17156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17156F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17156F#FFFFFF#000000##FFFFFF
##17156F1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17156f;
/* rgb */ color: rgb(23, 21, 111);
/* oklch */ color: oklch(28.0% 0.147 272.5);
Tailwind
colors: {
  custom: {
    50: '#655499',
    500: '#17156f',
    950: '#000000',
  },
}
SCSS
$custom: #17156f;
$custom-light: #655499;
$custom-dark: #000000;
JSON
{
  "hex": "#17156f",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 241.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.14697,
    "h": 272.5
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#17156F
secondary
#A3A53A
accent
#EB3DE7
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #17156F

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

Preview Lab → · Contrast checker → · Palette generator →

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