#2815BC Color Information

Hex color code: #2815BC

#2815BC is a vivid blue color. In RGB it is (40, 21, 188), and in HSL it is (247°, 80%, 41%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#2815BC
RGB
40, 21, 188
HSL
247°, 80%, 41%
CMYK
79%, 89%, 0%, 26%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2815BC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2815BC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2815BC; 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 #2815BC; background-color: #2815BC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2815BC20; border-left: 4px solid #2815BC; }

Link / Accent

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

a { color: #2815BC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2815BC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

40, 21, 188

Red: 40 / Green: 21 / Blue: 188

HSL

247°, 80%, 41%

Hue: 247° / Saturation: 80% / Lightness: 41%

CMYK

79%, 89%, 0%, 26%

Cyan: 79% / Magenta: 89% / Yellow: 0% / Key: 26%

What color is #2815BC?

#2815BC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2815BC to RGB:

rgb(40, 21, 188)HEX to RGB Converter →

HEX to HSL

Convert #2815BC to HSL:

hsl(247, 80%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #2815BC to CMYK:

cmyk(79%, 89%, 0%, 26%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #2815BC has RGB (40, 21, 188) and HSL (247°, 80%, 41%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2815BC is #A9BC15, creating high-contrast pairings. For softer combinations, try analogous colors like #1555BC.

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

Contrast with #2815BC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2815BC?

#2815BC is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2815BC?

#2815BC in RGB is (40, 21, 188) - 40 red, 21 green, and 188 blue.

How to use #2815BC in CSS?

Use #2815BC directly in your CSS properties like color or background-color.

What colors go well with #2815BC?

#A9BC15 (complementary), #1555BC (analogous), and #1A0D77 (lighter shade) work well with #2815BC.