#17108C#17108C

#17108C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 31.1% C 0.186 H 270.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#17108C
RGBrgb(23, 16, 140)
HSLhsl(243, 79%, 31%)
HSVhsv(243, 89%, 55%)
CMYKcmyk(83.6%, 88.6%, 0%, 45.1%)
CIE-LABlab(17.67, 45.54, -64.42)
CIE-LCHlch(17.67, 78.89, 305.26°)
OKLaboklab(31.06% 0.0005 -0.1863)
OKLCHoklch(31.06% 0.186 270.2)
XYZxyz(5.2707, 2.4456, 25.0001)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17108C #858C10
analogous
#10478C #17108C #55108C
triadic
#17108C #8C1710 #108C17
tetradic
#17108C #8C1047 #858C10 #108C55
square
#17108C #8C1047 #858C10 #108C55
split-complementary
#17108C #8C5510 #478C10
monochromatic
#05031E #0E0A55 #17108C #2016C3 #3A2FE7

Accessibility & contrast

On white

14.10
#17108C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#17108C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17108C
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17108C#FFFFFF#000000##FFFFFF
##17108C1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00318F
Deuteranopia (green-blind)
#00258A
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #17108c;
/* rgb */ color: rgb(23, 16, 140);
/* oklch */ color: oklch(31.1% 0.186 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e54af',
    500: '#17108c',
    950: '#000000',
  },
}
SCSS
$custom: #17108c;
$custom-light: #6e54af;
$custom-dark: #000000;
JSON
{
  "hex": "#17108c",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 140
  },
  "hsl": {
    "h": 243.387,
    "s": 79.487,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31055,
    "c": 0.18634,
    "h": 270.2
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17108C

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

Preview Lab → · Contrast checker → · Palette generator →

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