#2E28AF Color Information

Hex color code: #2E28AF

#2E28AF is a cool blue color. In RGB it is (46, 40, 175), and in HSL it is (243°, 63%, 42%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#2E28AF
RGB
46, 40, 175
HSL
243°, 63%, 42%
CMYK
74%, 77%, 0%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2E28AF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

46, 40, 175

Red: 46 / Green: 40 / Blue: 175

HSL

243°, 63%, 42%

Hue: 243° / Saturation: 63% / Lightness: 42%

CMYK

74%, 77%, 0%, 31%

Cyan: 74% / Magenta: 77% / Yellow: 0% / Key: 31%

What color is #2E28AF?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2E28AF to RGB:

rgb(46, 40, 175)HEX to RGB Converter →

HEX to HSL

Convert #2E28AF to HSL:

hsl(243, 63%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #2E28AF to CMYK:

cmyk(74%, 77%, 0%, 31%)Color Converter →

Color Meaning and Usage

#2E28AF is a cool blue color with RGB values of 46, 40, 175 and HSL of 243°, 63%, 42%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2E28AF is #A8AF28, creating high-contrast pairings. For softer combinations, try analogous colors like #2864AF.

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

Contrast with #2E28AF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2E28AF?

#2E28AF is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2E28AF?

#2E28AF in RGB is (46, 40, 175) - 46 red, 40 green, and 175 blue.

How to use #2E28AF in CSS?

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

What colors go well with #2E28AF?

#A8AF28 (complementary), #2864AF (analogous), and #1E1970 (lighter shade) work well with #2E28AF.