#17176B#17176B

#17176B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.140 H 272.6°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#17176B
RGBrgb(23, 23, 107)
HSLhsl(240, 65%, 25%)
HSVhsv(240, 79%, 42%)
CMYKcmyk(78.5%, 78.5%, 0%, 58%)
CIE-LABlab(14.71, 30.94, -48.21)
CIE-LCHlch(14.71, 57.28, 302.69°)
OKLaboklab(27.79% 0.0064 -0.1395)
OKLCHoklch(27.79% 0.14 272.6)
XYZxyz(3.3127, 1.8561, 14.0908)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17176B #6B6B17
analogous
#17416B #17176B #41176B
triadic
#17176B #6B1717 #176B17
tetradic
#17176B #6B1741 #6B6B17 #176B41
square
#17176B #6B1741 #6B6B17 #176B41
split-complementary
#17176B #6B4117 #416B17
monochromatic
#050519 #0C0C39 #17176B #22229D #2D2DD0

Accessibility & contrast

On white

15.32
#17176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17176B
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17176B#FFFFFF#000000##FFFFFF
##17176B1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17176b;
/* rgb */ color: rgb(23, 23, 107);
/* oklch */ color: oklch(27.8% 0.140 272.6);
Tailwind
colors: {
  custom: {
    50: '#645596',
    500: '#17176b',
    950: '#000000',
  },
}
SCSS
$custom: #17176b;
$custom-light: #645596;
$custom-dark: #000000;
JSON
{
  "hex": "#17176b",
  "rgb": {
    "r": 23,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 240,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27794,
    "c": 0.13966,
    "h": 272.6
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #17176B

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

Preview Lab → · Contrast checker → · Palette generator →

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