#17104A#17104A

#17104A is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.102 H 280.1°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#17104A
RGBrgb(23, 16, 74)
HSLhsl(247, 64%, 18%)
HSVhsv(247, 78%, 29%)
CMYKcmyk(68.9%, 78.4%, 0%, 71%)
CIE-LABlab(9.38, 23.25, -34.75)
CIE-LCHlch(9.38, 41.82, 303.79°)
OKLaboklab(22.88% 0.0179 -0.1002)
OKLCHoklch(22.88% 0.102 280.1)
XYZxyz(1.7743, 1.0470, 6.5858)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17104A #434A10
analogous
#10264A #17104A #34104A
triadic
#17104A #4A1710 #104A17
tetradic
#17104A #4A1026 #434A10 #104A34
square
#17104A #4A1026 #434A10 #104A34
split-complementary
#17104A #4A3410 #264A10
monochromatic
#080519 #080519 #17104A #271B7C #3626AF

Accessibility & contrast

On white

17.36
#17104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17104A
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17104A#FFFFFF#000000##FFFFFF
##17104A1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#00202B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #17104a;
/* rgb */ color: rgb(23, 16, 74);
/* oklch */ color: oklch(22.9% 0.102 280.1);
Tailwind
colors: {
  custom: {
    50: '#5c4f7d',
    500: '#17104a',
    950: '#000000',
  },
}
SCSS
$custom: #17104a;
$custom-light: #5c4f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#17104a",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 247.241,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.22878,
    "c": 0.10182,
    "h": 280.1
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#17104A
secondary
#7A8432
accent
#E740D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17104A

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

Preview Lab → · Contrast checker → · Palette generator →

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