#171176#171176

#171176 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.159 H 272.2°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#171176
RGBrgb(23, 17, 118)
HSLhsl(244, 75%, 26%)
HSVhsv(244, 86%, 46%)
CMYKcmyk(80.5%, 85.6%, 0%, 53.7%)
CIE-LABlab(14.90, 38.11, -55.04)
CIE-LCHlch(14.90, 66.95, 304.70°)
OKLaboklab(28.32% 0.006 -0.1593)
OKLCHoklch(28.32% 0.159 272.2)
XYZxyz(3.8227, 1.8906, 17.2995)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171176 #707611
analogous
#113E76 #171176 #4A1176
triadic
#171176 #761711 #117617
tetradic
#171176 #76113E #707611 #11764A
square
#171176 #76113E #707611 #11764A
split-complementary
#171176 #764A11 #3E7611
monochromatic
#05041B #0D0941 #171176 #2119AB #2D22DF

Accessibility & contrast

On white

15.24
#171176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#171176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171176
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171176#FFFFFF#000000##FFFFFF
##1711761.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171176;
/* rgb */ color: rgb(23, 17, 118);
/* oklch */ color: oklch(28.3% 0.159 272.2);
Tailwind
colors: {
  custom: {
    50: '#68529f',
    500: '#171176',
    950: '#000000',
  },
}
SCSS
$custom: #171176;
$custom-light: #68529f;
$custom-dark: #000000;
JSON
{
  "hex": "#171176",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 243.564,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28321,
    "c": 0.15937,
    "h": 272.2
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#171176
secondary
#A6AD36
accent
#F136E6
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #171176

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

Preview Lab → · Contrast checker → · Palette generator →

#171176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva