#171173#171173

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

Color values

HEX#171173
RGBrgb(23, 17, 115)
HSLhsl(244, 74%, 26%)
HSVhsv(244, 85%, 45%)
CMYKcmyk(80%, 85.2%, 0%, 54.9%)
CIE-LABlab(14.52, 37.12, -53.75)
CIE-LCHlch(14.52, 65.32, 304.63°)
OKLaboklab(27.94% 0.0068 -0.1555)
OKLCHoklch(27.94% 0.156 272.5)
XYZxyz(3.6473, 1.8205, 16.3755)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171173 #6D7311
analogous
#113C73 #171173 #481173
triadic
#171173 #731711 #117317
tetradic
#171173 #73113C #6D7311 #117348
square
#171173 #73113C #6D7311 #117348
split-complementary
#171173 #734811 #3C7311
monochromatic
#05041B #0C093E #171173 #2219A8 #2C21DE

Accessibility & contrast

On white

15.39
#171173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#171173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171173
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171173#FFFFFF#000000##FFFFFF
##1711731.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#002071
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #171173;
/* rgb */ color: rgb(23, 17, 115);
/* oklch */ color: oklch(27.9% 0.156 272.5);
Tailwind
colors: {
  custom: {
    50: '#67529c',
    500: '#171173',
    950: '#000000',
  },
}
SCSS
$custom: #171173;
$custom-light: #67529c;
$custom-dark: #000000;
JSON
{
  "hex": "#171173",
  "rgb": {
    "r": 23,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 243.673,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27942,
    "c": 0.15565,
    "h": 272.5
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#171173
secondary
#A3AA36
accent
#F137E5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #171173

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

Preview Lab → · Contrast checker → · Palette generator →

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