#17176A#17176A

#17176A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.138 H 272.7°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#17176A
RGBrgb(23, 23, 106)
HSLhsl(240, 64%, 25%)
HSVhsv(240, 78%, 42%)
CMYKcmyk(78.3%, 78.3%, 0%, 58.4%)
CIE-LABlab(14.60, 30.57, -47.75)
CIE-LCHlch(14.60, 56.70, 302.63°)
OKLaboklab(27.68% 0.0066 -0.1382)
OKLCHoklch(27.68% 0.138 272.7)
XYZxyz(3.2604, 1.8352, 13.8153)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17176A #6A6A17
analogous
#17406A #17176A #40176A
triadic
#17176A #6A1717 #176A17
tetradic
#17176A #6A1740 #6A6A17 #176A40
square
#17176A #6A1740 #6A6A17 #176A40
split-complementary
#17176A #6A4017 #406A17
monochromatic
#050519 #0C0C38 #17176A #22229C #2D2DCF

Accessibility & contrast

On white

15.36
#17176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#17176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17176A
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17176A#FFFFFF#000000##FFFFFF
##17176A1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17176a;
/* rgb */ color: rgb(23, 23, 106);
/* oklch */ color: oklch(27.7% 0.138 272.7);
Tailwind
colors: {
  custom: {
    50: '#645596',
    500: '#17176a',
    950: '#000000',
  },
}
SCSS
$custom: #17176a;
$custom-light: #645596;
$custom-dark: #000000;
JSON
{
  "hex": "#17176a",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27678,
    "c": 0.13833,
    "h": 272.7
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#17176A
secondary
#A0A03D
accent
#E740E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #17176A

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

Preview Lab → · Contrast checker → · Palette generator →

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