#170D72 Color Information

Hex color code: #170D72

The hex color #170D72 is a vivid blue with RGB values of (23, 13, 114) and HSL of (246°, 80%, 25%). It is commonly used in modern UI design.

Try:
Color NameNavy
HEX
#170D72
RGB
23, 13, 114
HSL
246°, 80%, 25%
CMYK
80%, 89%, 0%, 55%

Shades

CSS Usage
color: #170D72;
background-color: #170D72;
border-color: #170D72;
box-shadow: 0 0 10px #170D72;
border: 2px solid #170D72;
Tailwind Usage
bg-[#170D72]
text-[#170D72]
border-[#170D72]
shadow-[0_0_10px_170D72]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #170D72, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #170D72; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #170D72; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #170D72; background-color: #170D7215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #170D7220; border-left: 4px solid #170D72; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #170D72; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #170D72 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

23, 13, 114

Red: 23 / Green: 13 / Blue: 114

HSL

246°, 80%, 25%

Hue: 246° / Saturation: 80% / Lightness: 25%

CMYK

80%, 89%, 0%, 55%

Cyan: 80% / Magenta: 89% / Yellow: 0% / Key: 55%

What color is #170D72?

#170D72 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #170D72 to RGB:

rgb(23, 13, 114)HEX to RGB Converter →

HEX to HSL

Convert #170D72 to HSL:

hsl(246, 80%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #170D72 to CMYK:

cmyk(80%, 89%, 0%, 55%)Color Converter →

Color Meaning and Usage

A striking blue tone, #170D72 has RGB (23, 13, 114) and HSL (246°, 80%, 25%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #170D72 is #69730D, creating high-contrast pairings. For softer combinations, try analogous colors like #0D3673.

Use #170D72 in CSS: color: #170D72 or background-color: #170D72. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #170D72

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.34:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #170D72?

#170D72 is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #170D72?

#170D72 in RGB is (23, 13, 114) - 23 red, 13 green, and 114 blue.

How to use #170D72 in CSS?

Use #170D72 directly in your CSS properties like color or background-color.

What colors go well with #170D72?

#69730D (complementary), #0D3673 (analogous), and #09052E (lighter shade) work well with #170D72.