#391DB4 Color Information

Hex color code: #391DB4

#391DB4 is a bold blue color. In RGB it is (57, 29, 180), and in HSL it is (251°, 72%, 41%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#391DB4
RGB
57, 29, 180
HSL
251°, 72%, 41%
CMYK
68%, 84%, 0%, 29%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #391DB4, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #391DB4; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #391DB4; 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 #391DB4; background-color: #391DB415; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #391DB420; border-left: 4px solid #391DB4; }

Link / Accent

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

a { color: #391DB4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #391DB4 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

57, 29, 180

Red: 57 / Green: 29 / Blue: 180

HSL

251°, 72%, 41%

Hue: 251° / Saturation: 72% / Lightness: 41%

CMYK

68%, 84%, 0%, 29%

Cyan: 68% / Magenta: 84% / Yellow: 0% / Key: 29%

What color is #391DB4?

#391DB4 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #391DB4 to RGB:

rgb(57, 29, 180)HEX to RGB Converter →

HEX to HSL

Convert #391DB4 to HSL:

hsl(251, 72%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #391DB4 to CMYK:

cmyk(68%, 84%, 0%, 29%)Color Converter →

Color Meaning and Usage

#391DB4 is a dynamic blue color with RGB values of 57, 29, 180 and HSL of 251°, 72%, 41%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #391DB4 is #98B41D, creating high-contrast pairings. For softer combinations, try analogous colors like #1D4DB4.

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

Contrast with #391DB4

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #391DB4?

#391DB4 is a dynamic blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #391DB4?

#391DB4 in RGB is (57, 29, 180) - 57 red, 29 green, and 180 blue.

How to use #391DB4 in CSS?

Use #391DB4 directly in your CSS properties like color or background-color.

What colors go well with #391DB4?

#98B41D (complementary), #1D4DB4 (analogous), and #241372 (lighter shade) work well with #391DB4.