#17176C#17176C

#17176C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.141 H 272.5°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#17176C
RGBrgb(23, 23, 108)
HSLhsl(240, 65%, 26%)
HSVhsv(240, 79%, 42%)
CMYKcmyk(78.7%, 78.7%, 0%, 57.6%)
CIE-LABlab(14.83, 31.30, -48.67)
CIE-LCHlch(14.83, 57.87, 302.75°)
OKLaboklab(27.91% 0.0062 -0.1409)
OKLCHoklch(27.91% 0.141 272.5)
XYZxyz(3.3656, 1.8773, 14.3694)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17176C #6C6C17
analogous
#17416C #17176C #41176C
triadic
#17176C #6C1717 #176C17
tetradic
#17176C #6C1741 #6C6C17 #176C41
square
#17176C #6C1741 #6C6C17 #176C41
split-complementary
#17176C #6C4117 #416C17
monochromatic
#050519 #0C0C3A #17176C #22229E #2C2CD1

Accessibility & contrast

On white

15.27
#17176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#17176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17176C
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17176C#FFFFFF#000000##FFFFFF
##17176C1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #17176c;
/* rgb */ color: rgb(23, 23, 108);
/* oklch */ color: oklch(27.9% 0.141 272.5);
Tailwind
colors: {
  custom: {
    50: '#645597',
    500: '#17176c',
    950: '#000000',
  },
}
SCSS
$custom: #17176c;
$custom-light: #645597;
$custom-dark: #000000;
JSON
{
  "hex": "#17176c",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 240,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27911,
    "c": 0.14099,
    "h": 272.5
  },
  "luminance": 0.01878
}

Semantic roles & 50–950 ramp

primary
#17176C
secondary
#A2A23D
accent
#E840E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #17176C

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

Preview Lab → · Contrast checker → · Palette generator →

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