#4D42EB Color Information

Hex color code: #4D42EB

The hex color #4D42EB is a dynamic blue with RGB values of (77, 66, 235) and HSL of (244°, 81%, 59%). It is typically applied in digital products.

Try:
Color NameRoyal Blue
HEX
#4D42EB
RGB
77, 66, 235
HSL
244°, 81%, 59%
CMYK
67%, 72%, 0%, 8%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4D42EB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4D42EB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4D42EB; 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 #4D42EB; background-color: #4D42EB15; }

Alert / Toast

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

Link / Accent

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

a { color: #4D42EB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4D42EB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

77, 66, 235

Red: 77 / Green: 66 / Blue: 235

HSL

244°, 81%, 59%

Hue: 244° / Saturation: 81% / Lightness: 59%

CMYK

67%, 72%, 0%, 8%

Cyan: 67% / Magenta: 72% / Yellow: 0% / Key: 8%

What color is #4D42EB?

#4D42EB is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4D42EB to RGB:

rgb(77, 66, 235)HEX to RGB Converter →

HEX to HSL

Convert #4D42EB to HSL:

hsl(244, 81%, 59%)RGB to HSL Converter →

HEX to CMYK

Convert #4D42EB to CMYK:

cmyk(67%, 72%, 0%, 8%)Color Converter →

Color Meaning and Usage

A bold blue tone, #4D42EB has RGB (77, 66, 235) and HSL (244°, 81%, 59%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4D42EB is #E0EB42, creating high-contrast pairings. For softer combinations, try analogous colors like #428BEB.

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

Contrast with #4D42EB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4D42EB?

#4D42EB is a bold blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #4D42EB?

#4D42EB in RGB is (77, 66, 235) - 77 red, 66 green, and 235 blue.

How to use #4D42EB in CSS?

Use #4D42EB directly in your CSS properties like color or background-color.

What colors go well with #4D42EB?

#E0EB42 (complementary), #428BEB (analogous), and #2115CB (lighter shade) work well with #4D42EB.