#171477#171477

#171477 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.158 H 271.8°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#171477
RGBrgb(23, 20, 119)
HSLhsl(242, 71%, 27%)
HSVhsv(242, 83%, 47%)
CMYKcmyk(80.7%, 83.2%, 0%, 53.3%)
CIE-LABlab(15.56, 36.89, -54.60)
CIE-LCHlch(15.56, 65.89, 304.05°)
OKLaboklab(28.82% 0.0049 -0.158)
OKLCHoklch(28.82% 0.158 271.8)
XYZxyz(3.9322, 2.0139, 17.6307)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#171477 #747714
analogous
#144377 #171477 #481477
triadic
#171477 #771714 #147717
tetradic
#171477 #771443 #747714 #147748
square
#171477 #771443 #747714 #147748
split-complementary
#171477 #774814 #437714
monochromatic
#05041A #0D0B43 #171477 #211DAB #302ADB

Accessibility & contrast

On white

14.97
#171477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#171477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #171477
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##171477#FFFFFF#000000##FFFFFF
##1714771.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002275
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #171477;
/* rgb */ color: rgb(23, 20, 119);
/* oklch */ color: oklch(28.8% 0.158 271.8);
Tailwind
colors: {
  custom: {
    50: '#68549f',
    500: '#171477',
    950: '#000000',
  },
}
SCSS
$custom: #171477;
$custom-light: #68549f;
$custom-dark: #000000;
JSON
{
  "hex": "#171477",
  "rgb": {
    "r": 23,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 241.818,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28815,
    "c": 0.1581,
    "h": 271.8
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#171477
secondary
#A9AD3A
accent
#EE3AE9
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #171477

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

Preview Lab → · Contrast checker → · Palette generator →

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