#17107F#17107F

#17107F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 271.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#17107F
RGBrgb(23, 16, 127)
HSLhsl(244, 78%, 28%)
HSVhsv(244, 87%, 50%)
CMYKcmyk(81.9%, 87.4%, 0%, 50.2%)
CIE-LABlab(15.93, 41.49, -59.11)
CIE-LCHlch(15.93, 72.22, 305.06°)
OKLaboklab(29.36% 0.0039 -0.171)
OKLCHoklch(29.36% 0.171 271.3)
XYZxyz(4.3681, 2.0846, 20.2467)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17107F #787F10
analogous
#10407F #17107F #4E107F
triadic
#17107F #7F1710 #107F17
tetradic
#17107F #7F1040 #787F10 #107F4E
square
#17107F #7F1040 #787F10 #107F4E
split-complementary
#17107F #7F4E10 #407F10
monochromatic
#05031B #0D0949 #17107F #2117B5 #3226E4

Accessibility & contrast

On white

14.82
#17107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17107F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17107F#FFFFFF#000000##FFFFFF
##17107F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.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: #17107f;
/* rgb */ color: rgb(23, 16, 127);
/* oklch */ color: oklch(29.4% 0.171 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a53a5',
    500: '#17107f',
    950: '#000000',
  },
}
SCSS
$custom: #17107f;
$custom-light: #6a53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#17107f",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 243.784,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29364,
    "c": 0.17105,
    "h": 271.3
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#17107F
secondary
#ADB536
accent
#F434E8
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #17107F

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

Preview Lab → · Contrast checker → · Palette generator →

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