#17104D#17104D

#17104D is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.106 H 279.3°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#17104D
RGBrgb(23, 16, 77)
HSLhsl(247, 66%, 18%)
HSVhsv(247, 79%, 30%)
CMYKcmyk(70.1%, 79.2%, 0%, 69.8%)
CIE-LABlab(9.71, 24.36, -36.29)
CIE-LCHlch(9.71, 43.71, 303.87°)
OKLaboklab(23.21% 0.0172 -0.1047)
OKLCHoklch(23.21% 0.106 279.3)
XYZxyz(1.8778, 1.0884, 7.1309)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17104D #464D10
analogous
#10274D #17104D #35104D
triadic
#17104D #4D1710 #104D17
tetradic
#17104D #4D1027 #464D10 #104D35
square
#17104D #4D1027 #464D10 #104D35
split-complementary
#17104D #4D3510 #274D10
monochromatic
#080519 #08051A #17104D #261B80 #3525B2

Accessibility & contrast

On white

17.24
#17104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#17104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17104D
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17104D#FFFFFF#000000##FFFFFF
##17104D1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #17104d;
/* rgb */ color: rgb(23, 16, 77);
/* oklch */ color: oklch(23.2% 0.106 279.3);
Tailwind
colors: {
  custom: {
    50: '#5d4f80',
    500: '#17104d',
    950: '#000000',
  },
}
SCSS
$custom: #17104d;
$custom-light: #5d4f80;
$custom-dark: #000000;
JSON
{
  "hex": "#17104d",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 246.885,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23214,
    "c": 0.10614,
    "h": 279.3
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#17104D
secondary
#7D8732
accent
#E93FD5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #17104D

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

Preview Lab → · Contrast checker → · Palette generator →

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