#17117E#17117E

#17117E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.169 H 271.3°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#17117E
RGBrgb(23, 17, 126)
HSLhsl(243, 76%, 28%)
HSVhsv(243, 87%, 49%)
CMYKcmyk(81.7%, 86.5%, 0%, 50.6%)
CIE-LABlab(15.95, 40.71, -58.44)
CIE-LCHlch(15.95, 71.22, 304.86°)
OKLaboklab(29.34% 0.004 -0.1691)
OKLCHoklch(29.34% 0.169 271.3)
XYZxyz(4.3184, 2.0889, 19.9102)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17117E #787E11
analogous
#11417E #17117E #4D117E
triadic
#17117E #7E1711 #117E17
tetradic
#17117E #7E1141 #787E11 #117E4D
square
#17117E #7E1141 #787E11 #117E4D
split-complementary
#17117E #7E4D11 #417E11
monochromatic
#05041B #0D0A48 #17117E #2118B4 #3227E2

Accessibility & contrast

On white

14.81
#17117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#17117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17117E
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17117E#FFFFFF#000000##FFFFFF
##17117E1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17117e;
/* rgb */ color: rgb(23, 17, 126);
/* oklch */ color: oklch(29.3% 0.169 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a53a5',
    500: '#17117e',
    950: '#000000',
  },
}
SCSS
$custom: #17117e;
$custom-light: #6a53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17117e",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 243.303,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29342,
    "c": 0.16913,
    "h": 271.3
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#17117E
secondary
#ADB437
accent
#F335E8
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #17117E

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

Preview Lab → · Contrast checker → · Palette generator →

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