#17104B#17104B

#17104B is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.103 H 279.9°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#17104B
RGBrgb(23, 16, 75)
HSLhsl(247, 65%, 18%)
HSVhsv(247, 79%, 29%)
CMYKcmyk(69.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(9.49, 23.62, -35.27)
CIE-LCHlch(9.49, 42.45, 303.81°)
OKLaboklab(22.99% 0.0177 -0.1017)
OKLCHoklch(22.99% 0.103 279.9)
XYZxyz(1.8082, 1.0606, 6.7647)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17104B #444B10
analogous
#10264B #17104B #34104B
triadic
#17104B #4B1710 #104B17
tetradic
#17104B #4B1026 #444B10 #104B34
square
#17104B #4B1026 #444B10 #104B34
split-complementary
#17104B #4B3410 #264B10
monochromatic
#080519 #080519 #17104B #261B7D #3626B0

Accessibility & contrast

On white

17.32
#17104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17104B
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17104B#FFFFFF#000000##FFFFFF
##17104B1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#00184A
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #17104b;
/* rgb */ color: rgb(23, 16, 75);
/* oklch */ color: oklch(23.0% 0.103 279.9);
Tailwind
colors: {
  custom: {
    50: '#5c4f7e',
    500: '#17104b',
    950: '#000000',
  },
}
SCSS
$custom: #17104b;
$custom-light: #5c4f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#17104b",
  "rgb": {
    "r": 23,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 247.119,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22989,
    "c": 0.10326,
    "h": 279.9
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#17104B
secondary
#7B8532
accent
#E840D4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #17104B

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

Preview Lab → · Contrast checker → · Palette generator →

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