#17159E#17159E

#17159E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.9% C 0.204 H 268.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#17159E
RGBrgb(23, 21, 158)
HSLhsl(241, 77%, 35%)
HSVhsv(241, 87%, 62%)
CMYKcmyk(85.4%, 86.7%, 0%, 38%)
CIE-LABlab(20.78, 48.96, -70.39)
CIE-LCHlch(20.78, 85.74, 304.82°)
OKLaboklab(33.86% -0.0043 -0.2037)
OKLCHoklch(33.86% 0.204 268.8)
XYZxyz(6.7910, 3.1863, 32.5982)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17159E #9C9E15
analogous
#15579E #17159E #5C159E
triadic
#17159E #9E1715 #159E17
tetradic
#17159E #9E1557 #9C9E15 #159E5C
square
#17159E #9E1557 #9C9E15 #159E5C
split-complementary
#17159E #9E5C15 #579E15
monochromatic
#070732 #0F0E68 #17159E #1F1CD4 #4947E7

Accessibility & contrast

On white

12.83
#17159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#17159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17159E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17159E#FFFFFF#000000##FFFFFF
##17159E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #17159e;
/* rgb */ color: rgb(23, 21, 158);
/* oklch */ color: oklch(33.9% 0.204 268.8);
Tailwind
colors: {
  custom: {
    50: '#7258bc',
    500: '#17159e',
    950: '#000000',
  },
}
SCSS
$custom: #17159e;
$custom-light: #7258bc;
$custom-dark: #000000;
JSON
{
  "hex": "#17159e",
  "rgb": {
    "r": 23,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 240.876,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.33861,
    "c": 0.20376,
    "h": 268.8
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#17159E
secondary
#C6C747
accent
#F335F0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #17159E

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

Preview Lab → · Contrast checker → · Palette generator →

#17159E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva