#2A1ABC Color Information

Hex color code: #2A1ABC

The hex color #2A1ABC is a eye-catching blue with RGB values of (42, 26, 188) and HSL of (246°, 76%, 42%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#2A1ABC
RGB
42, 26, 188
HSL
246°, 76%, 42%
CMYK
78%, 86%, 0%, 26%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2A1ABC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2A1ABC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2A1ABC; 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 #2A1ABC; background-color: #2A1ABC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2A1ABC20; border-left: 4px solid #2A1ABC; }

Link / Accent

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

a { color: #2A1ABC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2A1ABC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

42, 26, 188

Red: 42 / Green: 26 / Blue: 188

HSL

246°, 76%, 42%

Hue: 246° / Saturation: 76% / Lightness: 42%

CMYK

78%, 86%, 0%, 26%

Cyan: 78% / Magenta: 86% / Yellow: 0% / Key: 26%

What color is #2A1ABC?

#2A1ABC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2A1ABC to RGB:

rgb(42, 26, 188)HEX to RGB Converter →

HEX to HSL

Convert #2A1ABC to HSL:

hsl(246, 76%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #2A1ABC to CMYK:

cmyk(78%, 86%, 0%, 26%)Color Converter →

Color Meaning and Usage

A vivid blue tone, #2A1ABC has RGB (42, 26, 188) and HSL (246°, 76%, 42%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2A1ABC is #ACBC1A, creating high-contrast pairings. For softer combinations, try analogous colors like #1A5BBC.

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

Contrast with #2A1ABC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2A1ABC?

#2A1ABC is a vivid blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2A1ABC?

#2A1ABC in RGB is (42, 26, 188) - 42 red, 26 green, and 188 blue.

How to use #2A1ABC in CSS?

Use #2A1ABC directly in your CSS properties like color or background-color.

What colors go well with #2A1ABC?

#ACBC1A (complementary), #1A5BBC (analogous), and #1B1179 (lighter shade) work well with #2A1ABC.