#2E247B Color Information

Hex color code: #2E247B

#2E247B is a tranquil blue color. In RGB it is (46, 36, 123), and in HSL it is (247°, 55%, 31%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#2E247B
RGB
46, 36, 123
HSL
247°, 55%, 31%
CMYK
63%, 71%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2E247B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

46, 36, 123

Red: 46 / Green: 36 / Blue: 123

HSL

247°, 55%, 31%

Hue: 247° / Saturation: 55% / Lightness: 31%

CMYK

63%, 71%, 0%, 52%

Cyan: 63% / Magenta: 71% / Yellow: 0% / Key: 52%

What color is #2E247B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2E247B to RGB:

rgb(46, 36, 123)HEX to RGB Converter →

HEX to HSL

Convert #2E247B to HSL:

hsl(247, 55%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #2E247B to CMYK:

cmyk(63%, 71%, 0%, 52%)Color Converter →

Color Meaning and Usage

A tranquil blue tone, #2E247B has RGB (46, 36, 123) and HSL (247°, 55%, 31%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2E247B is #707B24, creating high-contrast pairings. For softer combinations, try analogous colors like #24457B.

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

Contrast with #2E247B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2E247B?

#2E247B is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2E247B?

#2E247B in RGB is (46, 36, 123) - 46 red, 36 green, and 123 blue.

How to use #2E247B in CSS?

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

What colors go well with #2E247B?

#707B24 (complementary), #24457B (analogous), and #18123F (lighter shade) work well with #2E247B.