#15315B Color Information

Hex color code: #15315B

A dramatic blue shade, #15315B appears as (21, 49, 91) in RGB and (216°, 63%, 22%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#15315B
RGB
21, 49, 91
HSL
216°, 63%, 22%
CMYK
77%, 46%, 0%, 64%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #15315B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #15315B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #15315B; 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 #15315B; background-color: #15315B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #15315B20; border-left: 4px solid #15315B; }

Link / Accent

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

a { color: #15315B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #15315B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

21, 49, 91

Red: 21 / Green: 49 / Blue: 91

HSL

216°, 63%, 22%

Hue: 216° / Saturation: 63% / Lightness: 22%

CMYK

77%, 46%, 0%, 64%

Cyan: 77% / Magenta: 46% / Yellow: 0% / Key: 64%

What color is #15315B?

#15315B is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #15315B to RGB:

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

HEX to HSL

Convert #15315B to HSL:

hsl(216, 63%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #15315B to CMYK:

cmyk(77%, 46%, 0%, 64%)Color Converter →

Color Meaning and Usage

#15315B is a rich blue color with RGB values of 21, 49, 91 and HSL of 216°, 63%, 22%. This blue-purple hue evokes creativity and luxury, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #15315B is #5B3F15, creating high-contrast pairings. For softer combinations, try analogous colors like #15545B.

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

Contrast with #15315B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #15315B?

#15315B is a rich blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #15315B?

#15315B in RGB is (21, 49, 91) - 21 red, 49 green, and 91 blue.

How to use #15315B in CSS?

Use #15315B directly in your CSS properties like color or background-color.

What colors go well with #15315B?

#5B3F15 (complementary), #15545B (analogous), and #07101D (lighter shade) work well with #15315B.