#17315E Color Information

Hex color code: #17315E

The hex color #17315E is a dramatic blue with RGB values of (23, 49, 94) and HSL of (218°, 61%, 23%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#17315E
RGB
23, 49, 94
HSL
218°, 61%, 23%
CMYK
76%, 48%, 0%, 63%

Shades

CSS Usage
color: #17315E;
background-color: #17315E;
border-color: #17315E;
box-shadow: 0 0 10px #17315E;
border: 2px solid #17315E;
Tailwind Usage
bg-[#17315E]
text-[#17315E]
border-[#17315E]
shadow-[0_0_10px_17315E]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #17315E, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #17315E; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #17315E; 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 #17315E; background-color: #17315E15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #17315E20; border-left: 4px solid #17315E; }

Link / Accent

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

a { color: #17315E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #17315E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

23, 49, 94

Red: 23 / Green: 49 / Blue: 94

HSL

218°, 61%, 23%

Hue: 218° / Saturation: 61% / Lightness: 23%

CMYK

76%, 48%, 0%, 63%

Cyan: 76% / Magenta: 48% / Yellow: 0% / Key: 63%

What color is #17315E?

#17315E is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #17315E to RGB:

rgb(23, 49, 94)HEX to RGB Converter →

HEX to HSL

Convert #17315E to HSL:

hsl(218, 61%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #17315E to CMYK:

cmyk(76%, 48%, 0%, 63%)Color Converter →

Color Meaning and Usage

#17315E is a intense blue color with RGB values of 23, 49, 94 and HSL of 218°, 61%, 23%. This blue-purple hue evokes creativity and luxury, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #17315E is #5E4417, creating high-contrast pairings. For softer combinations, try analogous colors like #17555E.

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

Contrast with #17315E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #17315E?

#17315E is a intense blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #17315E?

#17315E in RGB is (23, 49, 94) - 23 red, 49 green, and 94 blue.

How to use #17315E in CSS?

Use #17315E directly in your CSS properties like color or background-color.

What colors go well with #17315E?

#5E4417 (complementary), #17555E (analogous), and #081121 (lighter shade) work well with #17315E.