#2A23AF Color Information

Hex color code: #2A23AF

#2A23AF is a calming blue color. In RGB it is (42, 35, 175), and in HSL it is (243°, 67%, 41%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#2A23AF
RGB
42, 35, 175
HSL
243°, 67%, 41%
CMYK
76%, 80%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2A23AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

42, 35, 175

Red: 42 / Green: 35 / Blue: 175

HSL

243°, 67%, 41%

Hue: 243° / Saturation: 67% / Lightness: 41%

CMYK

76%, 80%, 0%, 31%

Cyan: 76% / Magenta: 80% / Yellow: 0% / Key: 31%

What color is #2A23AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2A23AF to RGB:

rgb(42, 35, 175)HEX to RGB Converter →

HEX to HSL

Convert #2A23AF to HSL:

hsl(243, 67%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #2A23AF to CMYK:

cmyk(76%, 80%, 0%, 31%)Color Converter →

Color Meaning and Usage

A serene blue tone, #2A23AF has RGB (42, 35, 175) and HSL (243°, 67%, 41%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2A23AF is #A8AF23, creating high-contrast pairings. For softer combinations, try analogous colors like #2362AF.

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

Contrast with #2A23AF

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 #2A23AF?

#2A23AF is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2A23AF?

#2A23AF in RGB is (42, 35, 175) - 42 red, 35 green, and 175 blue.

How to use #2A23AF in CSS?

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

What colors go well with #2A23AF?

#A8AF23 (complementary), #2362AF (analogous), and #1A166F (lighter shade) work well with #2A23AF.