#171480#171480

#171480 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.169 H 270.9°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#171480
RGBrgb(23, 20, 128)
HSLhsl(242, 73%, 29%)
HSVhsv(242, 84%, 50%)
CMYKcmyk(82%, 84.4%, 0%, 49.8%)
CIE-LABlab(16.70, 39.91, -58.46)
CIE-LCHlch(16.70, 70.78, 304.32°)
OKLaboklab(29.94% 0.0027 -0.1692)
OKLCHoklch(29.94% 0.169 270.9)
XYZxyz(4.4985, 2.2405, 20.6133)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171480 #7D8014
analogous
#144780 #171480 #4D1480
triadic
#171480 #801714 #148017
tetradic
#171480 #801447 #7D8014 #14804D
square
#171480 #801447 #7D8014 #14804D
split-complementary
#171480 #804D14 #478014
monochromatic
#05041A #0D0C4B #171480 #211CB5 #3530DF

Accessibility & contrast

On white

14.50
#171480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#171480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171480
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171480#FFFFFF#000000##FFFFFF
##1714801.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #171480;
/* rgb */ color: rgb(23, 20, 128);
/* oklch */ color: oklch(29.9% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a55a6',
    500: '#171480',
    950: '#000000',
  },
}
SCSS
$custom: #171480;
$custom-light: #6a55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#171480",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 241.667,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.29938,
    "c": 0.16922,
    "h": 270.9
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#171480
secondary
#B2B53B
accent
#F038EB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #171480

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

Preview Lab → · Contrast checker → · Palette generator →

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