#17117F#17117F

#17117F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.170 H 271.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#17117F
RGBrgb(23, 17, 127)
HSLhsl(243, 76%, 28%)
HSVhsv(243, 87%, 50%)
CMYKcmyk(81.9%, 86.6%, 0%, 50.2%)
CIE-LABlab(16.08, 41.03, -58.86)
CIE-LCHlch(16.08, 71.75, 304.88°)
OKLaboklab(29.47% 0.0037 -0.1703)
OKLCHoklch(29.47% 0.17 271.2)
XYZxyz(4.3833, 2.1149, 20.2518)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17117F #797F11
analogous
#11427F #17117F #4E117F
triadic
#17117F #7F1711 #117F17
tetradic
#17117F #7F1142 #797F11 #117F4E
square
#17117F #7F1142 #797F11 #117F4E
split-complementary
#17117F #7F4E11 #427F11
monochromatic
#05041B #0D0A49 #17117F #2118B5 #3228E2

Accessibility & contrast

On white

14.76
#17117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17117F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17117F#FFFFFF#000000##FFFFFF
##17117F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #17117f;
/* rgb */ color: rgb(23, 17, 127);
/* oklch */ color: oklch(29.5% 0.170 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a53a5',
    500: '#17117f',
    950: '#000000',
  },
}
SCSS
$custom: #17117f;
$custom-light: #6a53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17117f",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 243.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.2947,
    "c": 0.17033,
    "h": 271.2
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#17117F
secondary
#AEB537
accent
#F335E9
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #17117F

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

Preview Lab → · Contrast checker → · Palette generator →

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