#2912BA Color Information

Hex color code: #2912BA

#2912BA is a bold blue color. In RGB it is (41, 18, 186), and in HSL it is (248°, 82%, 40%). It is often used for branding and logos.

Try:
Color NameIndigo
HEX
#2912BA
RGB
41, 18, 186
HSL
248°, 82%, 40%
CMYK
78%, 90%, 0%, 27%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2912BA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2912BA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2912BA; 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 #2912BA; background-color: #2912BA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2912BA20; border-left: 4px solid #2912BA; }

Link / Accent

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

a { color: #2912BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2912BA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

41, 18, 186

Red: 41 / Green: 18 / Blue: 186

HSL

248°, 82%, 40%

Hue: 248° / Saturation: 82% / Lightness: 40%

CMYK

78%, 90%, 0%, 27%

Cyan: 78% / Magenta: 90% / Yellow: 0% / Key: 27%

What color is #2912BA?

#2912BA is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2912BA to RGB:

rgb(41, 18, 186)HEX to RGB Converter →

HEX to HSL

Convert #2912BA to HSL:

hsl(248, 82%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #2912BA to CMYK:

cmyk(78%, 90%, 0%, 27%)Color Converter →

Color Meaning and Usage

A striking blue tone, #2912BA has RGB (41, 18, 186) and HSL (248°, 82%, 40%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2912BA is #A3BA12, creating high-contrast pairings. For softer combinations, try analogous colors like #1250BA.

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

Contrast with #2912BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2912BA?

#2912BA is a striking blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #2912BA?

#2912BA in RGB is (41, 18, 186) - 41 red, 18 green, and 186 blue.

How to use #2912BA in CSS?

Use #2912BA directly in your CSS properties like color or background-color.

What colors go well with #2912BA?

#A3BA12 (complementary), #1250BA (analogous), and #190B74 (lighter shade) work well with #2912BA.