#2D17AB Color Information

Hex color code: #2D17AB

A vivid blue shade, #2D17AB appears as (45, 23, 171) in RGB and (249°, 76%, 38%) in HSL. It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#2D17AB
RGB
45, 23, 171
HSL
249°, 76%, 38%
CMYK
74%, 87%, 0%, 33%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2D17AB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2D17AB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2D17AB; 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 #2D17AB; background-color: #2D17AB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2D17AB20; border-left: 4px solid #2D17AB; }

Link / Accent

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

a { color: #2D17AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2D17AB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

45, 23, 171

Red: 45 / Green: 23 / Blue: 171

HSL

249°, 76%, 38%

Hue: 249° / Saturation: 76% / Lightness: 38%

CMYK

74%, 87%, 0%, 33%

Cyan: 74% / Magenta: 87% / Yellow: 0% / Key: 33%

What color is #2D17AB?

#2D17AB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2D17AB to RGB:

rgb(45, 23, 171)HEX to RGB Converter →

HEX to HSL

Convert #2D17AB to HSL:

hsl(249, 76%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #2D17AB to CMYK:

cmyk(74%, 87%, 0%, 33%)Color Converter →

Color Meaning and Usage

#2D17AB is a eye-catching blue color with RGB values of 45, 23, 171 and HSL of 249°, 76%, 38%. This blue-purple hue evokes creativity and luxury, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2D17AB is #94AB17, creating high-contrast pairings. For softer combinations, try analogous colors like #174BAB.

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

Contrast with #2D17AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2D17AB?

#2D17AB is a eye-catching blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2D17AB?

#2D17AB in RGB is (45, 23, 171) - 45 red, 23 green, and 171 blue.

How to use #2D17AB in CSS?

Use #2D17AB directly in your CSS properties like color or background-color.

What colors go well with #2D17AB?

#94AB17 (complementary), #174BAB (analogous), and #1B0E67 (lighter shade) work well with #2D17AB.