#17104C#17104C

#17104C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.1% C 0.105 H 279.6°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#17104C
RGBrgb(23, 16, 76)
HSLhsl(247, 65%, 18%)
HSVhsv(247, 79%, 30%)
CMYKcmyk(69.7%, 78.9%, 0%, 70.2%)
CIE-LABlab(9.60, 23.99, -35.78)
CIE-LCHlch(9.60, 43.08, 303.84°)
OKLaboklab(23.1% 0.0175 -0.1032)
OKLCHoklch(23.1% 0.105 279.6)
XYZxyz(1.8427, 1.0744, 6.9463)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17104C #454C10
analogous
#10274C #17104C #35104C
triadic
#17104C #4C1710 #104C17
tetradic
#17104C #4C1027 #454C10 #104C35
square
#17104C #4C1027 #454C10 #104C35
split-complementary
#17104C #4C3510 #274C10
monochromatic
#080519 #080519 #17104C #261B7F #3625B1

Accessibility & contrast

On white

17.28
#17104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#17104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17104C
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17104C#FFFFFF#000000##FFFFFF
##17104C1.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #17104c;
/* rgb */ color: rgb(23, 16, 76);
/* oklch */ color: oklch(23.1% 0.105 279.6);
Tailwind
colors: {
  custom: {
    50: '#5c4f7f',
    500: '#17104c',
    950: '#000000',
  },
}
SCSS
$custom: #17104c;
$custom-light: #5c4f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#17104c",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 247,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23101,
    "c": 0.10471,
    "h": 279.6
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#17104C
secondary
#7C8632
accent
#E840D5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #17104C

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

Preview Lab → · Contrast checker → · Palette generator →

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