#17117D#17117D

#17117D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.168 H 271.4°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#17117D
RGBrgb(23, 17, 125)
HSLhsl(243, 76%, 28%)
HSVhsv(243, 86%, 49%)
CMYKcmyk(81.6%, 86.4%, 0%, 51%)
CIE-LABlab(15.82, 40.39, -58.02)
CIE-LCHlch(15.82, 70.69, 304.84°)
OKLaboklab(29.21% 0.0042 -0.1679)
OKLCHoklch(29.21% 0.168 271.4)
XYZxyz(4.2542, 2.0632, 19.5721)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17117D #777D11
analogous
#11417D #17117D #4D117D
triadic
#17117D #7D1711 #117D17
tetradic
#17117D #7D1141 #777D11 #117D4D
square
#17117D #7D1141 #777D11 #117D4D
split-complementary
#17117D #7D4D11 #417D11
monochromatic
#05041B #0D0A47 #17117D #2118B3 #3127E2

Accessibility & contrast

On white

14.86
#17117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17117D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17117D#FFFFFF#000000##FFFFFF
##17117D1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00227B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #17117d;
/* rgb */ color: rgb(23, 17, 125);
/* oklch */ color: oklch(29.2% 0.168 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a53a4',
    500: '#17117d',
    950: '#000000',
  },
}
SCSS
$custom: #17117d;
$custom-light: #6a53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#17117d",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 243.333,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29214,
    "c": 0.16792,
    "h": 271.4
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#17117D
secondary
#ACB337
accent
#F335E8
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #17117D

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

Preview Lab → · Contrast checker → · Palette generator →

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