#332EDC Color Information

Hex color code: #332EDC

The hex color #332EDC is a striking blue with RGB values of (51, 46, 220) and HSL of (242°, 71%, 52%). It is popular in mobile app design.

Try:
Color NameRoyal Blue
HEX
#332EDC
RGB
51, 46, 220
HSL
242°, 71%, 52%
CMYK
77%, 79%, 0%, 14%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #332EDC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #332EDC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #332EDC; 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 #332EDC; background-color: #332EDC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #332EDC20; border-left: 4px solid #332EDC; }

Link / Accent

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

a { color: #332EDC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #332EDC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 46, 220

Red: 51 / Green: 46 / Blue: 220

HSL

242°, 71%, 52%

Hue: 242° / Saturation: 71% / Lightness: 52%

CMYK

77%, 79%, 0%, 14%

Cyan: 77% / Magenta: 79% / Yellow: 0% / Key: 14%

What color is #332EDC?

#332EDC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #332EDC to RGB:

rgb(51, 46, 220)HEX to RGB Converter →

HEX to HSL

Convert #332EDC to HSL:

hsl(242, 71%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #332EDC to CMYK:

cmyk(77%, 79%, 0%, 14%)Color Converter →

Color Meaning and Usage

A striking blue tone, #332EDC has RGB (51, 46, 220) and HSL (242°, 71%, 52%). Known for evoking creativity and luxury, this blue-purple hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #332EDC is #D6DC2E, creating high-contrast pairings. For softer combinations, try analogous colors like #2E7FDC.

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

Contrast with #332EDC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #332EDC?

#332EDC is a striking blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #332EDC?

#332EDC in RGB is (51, 46, 220) - 51 red, 46 green, and 220 blue.

How to use #332EDC in CSS?

Use #332EDC directly in your CSS properties like color or background-color.

What colors go well with #332EDC?

#D6DC2E (complementary), #2E7FDC (analogous), and #201BA1 (lighter shade) work well with #332EDC.