#171479#171479

#171479 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.161 H 271.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#171479
RGBrgb(23, 20, 121)
HSLhsl(242, 72%, 28%)
HSVhsv(242, 83%, 47%)
CMYKcmyk(81%, 83.5%, 0%, 52.5%)
CIE-LABlab(15.81, 37.57, -55.46)
CIE-LCHlch(15.81, 66.99, 304.11°)
OKLaboklab(29.06% 0.0044 -0.1605)
OKLCHoklch(29.06% 0.161 271.6)
XYZxyz(4.0535, 2.0625, 18.2699)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171479 #767914
analogous
#144479 #171479 #491479
triadic
#171479 #791714 #147917
tetradic
#171479 #791444 #767914 #147949
square
#171479 #791444 #767914 #147949
split-complementary
#171479 #794914 #447914
monochromatic
#05041A #0D0B44 #171479 #211DAE #312BDC

Accessibility & contrast

On white

14.87
#171479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#171479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171479
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171479#FFFFFF#000000##FFFFFF
##1714791.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171479;
/* rgb */ color: rgb(23, 20, 121);
/* oklch */ color: oklch(29.1% 0.161 271.6);
Tailwind
colors: {
  custom: {
    50: '#6854a1',
    500: '#171479',
    950: '#000000',
  },
}
SCSS
$custom: #171479;
$custom-light: #6854a1;
$custom-dark: #000000;
JSON
{
  "hex": "#171479",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 241.782,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29063,
    "c": 0.16059,
    "h": 271.6
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#171479
secondary
#ABAF3A
accent
#EE39E9
background
#F6F5FA
surface
#ECE8F3
border
#C7C4CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #171479

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

Preview Lab → · Contrast checker → · Palette generator →

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