#17108D#17108D

#17108D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.188 H 270.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#17108D
RGBrgb(23, 16, 141)
HSLhsl(243, 80%, 31%)
HSVhsv(243, 89%, 55%)
CMYKcmyk(83.7%, 88.7%, 0%, 44.7%)
CIE-LABlab(17.81, 45.84, -64.82)
CIE-LCHlch(17.81, 79.39, 305.27°)
OKLaboklab(31.19% 0.0003 -0.1875)
OKLCHoklch(31.19% 0.188 270.1)
XYZxyz(5.3447, 2.4752, 25.3902)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17108D #868D10
analogous
#10478D #17108D #55108D
triadic
#17108D #8D1710 #108D17
tetradic
#17108D #8D1047 #868D10 #108D55
square
#17108D #8D1047 #868D10 #108D55
split-complementary
#17108D #8D5510 #478D10
monochromatic
#05041F #0E0A56 #17108D #2016C4 #3A30E7

Accessibility & contrast

On white

14.04
#17108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#17108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17108D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17108D#FFFFFF#000000##FFFFFF
##17108D1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003290
Deuteranopia (green-blind)
#00258B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #17108d;
/* rgb */ color: rgb(23, 16, 141);
/* oklch */ color: oklch(31.2% 0.188 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e54b0',
    500: '#17108d',
    950: '#000000',
  },
}
SCSS
$custom: #17108d;
$custom-light: #6e54b0;
$custom-dark: #000000;
JSON
{
  "hex": "#17108d",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 243.36,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31185,
    "c": 0.1875,
    "h": 270.1
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#17108D
secondary
#BAC237
accent
#F632EB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #17108D

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

Preview Lab → · Contrast checker → · Palette generator →

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