Skip to content

#171663

a deep, vivid blue · warm · closest name: midnightblue

RGB
23, 22, 99
HSL
241°, 64%, 24%
CMYK
77, 78, 0, 61
Luminance
0.0166

Every format

HEX#171663
RGBrgb(23, 22, 99)
HSLhsl(241, 64%, 24%)
CMYKcmyk(77%, 78%, 0%, 61%)
LABlab(13.6 28.6 -44.8)
LCHlch(13.6 53.2 302.6)
OKLCHoklch(0.267 0.130 273.7)

Copy-ready code

/* CSS */
color: #171663;
background-color: #171663;
/* Tailwind (arbitrary) */
class="text-[#171663] bg-[#171663]"
/* SCSS */
$brand: #171663;
/* SwiftUI */
Color(red: 0.090, green: 0.086, blue: 0.388)
/* Android */
Color.parseColor("#171663")

Accessibility — WCAG contrast

Aa
#171663 on white: 15.77:1
AA ✓ pass · AA-large · AAA
Aa
#171663 on black: 1.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green8.6%
Blue38.8%

CMYK percentages

Cyan76.8%
Magenta77.8%
Yellow0.0%
Key (black)61.2%

Color previews

#171663 text on a black background

contrast 1.33:1

Card sample

#171663 text on a white background

contrast 15.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #171663;
Background color
Panel with #171663 background
background-color: #171663;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #171663;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(23, 22, 99, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 22, 99, 0.45);
Border & gradient
Gradient panel
border: 3px solid #171663;
background: linear-gradient(135deg, #171663, #4A1663);

Monochromatic scale

Palettes built from #171663

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #171663 in the Color Lab