#17107E#17107E

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

Color values

HEX#17107E
RGBrgb(23, 16, 126)
HSLhsl(244, 77%, 28%)
HSVhsv(244, 87%, 49%)
CMYKcmyk(81.7%, 87.3%, 0%, 50.6%)
CIE-LABlab(15.79, 41.17, -58.70)
CIE-LCHlch(15.79, 71.70, 305.05°)
OKLaboklab(29.24% 0.0042 -0.1698)
OKLCHoklch(29.24% 0.17 271.4)
XYZxyz(4.3033, 2.0586, 19.9052)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17107E #777E10
analogous
#10407E #17107E #4E107E
triadic
#17107E #7E1710 #107E17
tetradic
#17107E #7E1040 #777E10 #107E4E
square
#17107E #7E1040 #777E10 #107E4E
split-complementary
#17107E #7E4E10 #407E10
monochromatic
#05031B #0D0948 #17107E #2117B4 #3125E3

Accessibility & contrast

On white

14.87
#17107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#17107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17107E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17107E#FFFFFF#000000##FFFFFF
##17107E1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17107e;
/* rgb */ color: rgb(23, 16, 126);
/* oklch */ color: oklch(29.2% 0.170 271.4);
Tailwind
colors: {
  custom: {
    50: '#6a53a5',
    500: '#17107e',
    950: '#000000',
  },
}
SCSS
$custom: #17107e;
$custom-light: #6a53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17107e",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 243.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29235,
    "c": 0.16986,
    "h": 271.4
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#17107E
secondary
#ACB436
accent
#F434E8
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #17107E

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

Preview Lab → · Contrast checker → · Palette generator →

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