#17176D#17176D

#17176D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.142 H 272.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#17176D
RGBrgb(23, 23, 109)
HSLhsl(240, 65%, 26%)
HSVhsv(240, 79%, 43%)
CMYKcmyk(78.9%, 78.9%, 0%, 57.3%)
CIE-LABlab(14.95, 31.66, -49.13)
CIE-LCHlch(14.95, 58.45, 302.80°)
OKLaboklab(28.03% 0.006 -0.1422)
OKLCHoklch(28.03% 0.142 272.4)
XYZxyz(3.4191, 1.8987, 14.6513)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17176D #6D6D17
analogous
#17426D #17176D #42176D
triadic
#17176D #6D1717 #176D17
tetradic
#17176D #6D1742 #6D6D17 #176D42
square
#17176D #6D1742 #6D6D17 #176D42
split-complementary
#17176D #6D4217 #426D17
monochromatic
#050519 #0C0C3A #17176D #2222A0 #2C2CD2

Accessibility & contrast

On white

15.22
#17176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17176D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17176D#FFFFFF#000000##FFFFFF
##17176D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #17176d;
/* rgb */ color: rgb(23, 23, 109);
/* oklch */ color: oklch(28.0% 0.142 272.4);
Tailwind
colors: {
  custom: {
    50: '#655598',
    500: '#17176d',
    950: '#000000',
  },
}
SCSS
$custom: #17176d;
$custom-light: #655598;
$custom-dark: #000000;
JSON
{
  "hex": "#17176d",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 240,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28029,
    "c": 0.14232,
    "h": 272.4
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17176D

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

Preview Lab → · Contrast checker → · Palette generator →

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