#2E427A Color Information

Hex color code: #2E427A

The hex color #2E427A is a gentle blue with RGB values of (46, 66, 122) and HSL of (224°, 45%, 33%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#2E427A
RGB
46, 66, 122
HSL
224°, 45%, 33%
CMYK
62%, 46%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #2E427A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

46, 66, 122

Red: 46 / Green: 66 / Blue: 122

HSL

224°, 45%, 33%

Hue: 224° / Saturation: 45% / Lightness: 33%

CMYK

62%, 46%, 0%, 52%

Cyan: 62% / Magenta: 46% / Yellow: 0% / Key: 52%

What color is #2E427A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2E427A to RGB:

rgb(46, 66, 122)HEX to RGB Converter →

HEX to HSL

Convert #2E427A to HSL:

hsl(224, 45%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #2E427A to CMYK:

cmyk(62%, 46%, 0%, 52%)Color Converter →

Color Meaning and Usage

#2E427A is a soft blue color with RGB values of 46, 66, 122 and HSL of 224°, 45%, 33%. This blue-purple hue evokes creativity and luxury, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2E427A is #7A662E, creating high-contrast pairings. For softer combinations, try analogous colors like #2E687A.

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

Contrast with #2E427A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2E427A?

#2E427A is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2E427A?

#2E427A in RGB is (46, 66, 122) - 46 red, 66 green, and 122 blue.

How to use #2E427A in CSS?

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

What colors go well with #2E427A?

#7A662E (complementary), #2E687A (analogous), and #192443 (lighter shade) work well with #2E427A.