#15319D Color Information

Hex color code: #15319D

The hex color #15319D is a bold blue with RGB values of (21, 49, 157) and HSL of (228°, 76%, 35%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#15319D
RGB
21, 49, 157
HSL
228°, 76%, 35%
CMYK
87%, 69%, 0%, 38%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #15319D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #15319D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #15319D; 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 #15319D; background-color: #15319D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #15319D20; border-left: 4px solid #15319D; }

Link / Accent

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

a { color: #15319D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #15319D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 49, 157

Red: 21 / Green: 49 / Blue: 157

HSL

228°, 76%, 35%

Hue: 228° / Saturation: 76% / Lightness: 35%

CMYK

87%, 69%, 0%, 38%

Cyan: 87% / Magenta: 69% / Yellow: 0% / Key: 38%

What color is #15319D?

#15319D is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #15319D to RGB:

rgb(21, 49, 157)HEX to RGB Converter →

HEX to HSL

Convert #15319D to HSL:

hsl(228, 76%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #15319D to CMYK:

cmyk(87%, 69%, 0%, 38%)Color Converter →

Color Meaning and Usage

#15319D is a striking blue color with RGB values of 21, 49, 157 and HSL of 228°, 76%, 35%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #15319D is #9D8215, creating high-contrast pairings. For softer combinations, try analogous colors like #15749D.

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

Contrast with #15319D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #15319D?

#15319D is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #15319D?

#15319D in RGB is (21, 49, 157) - 21 red, 49 green, and 157 blue.

How to use #15319D in CSS?

Use #15319D directly in your CSS properties like color or background-color.

What colors go well with #15319D?

#9D8215 (complementary), #15749D (analogous), and #0C1C5A (lighter shade) work well with #15319D.