#4D51AC Color Information

Hex color code: #4D51AC

#4D51AC is a delicate blue color. In RGB it is (77, 81, 172), and in HSL it is (237°, 38%, 49%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#4D51AC
RGB
77, 81, 172
HSL
237°, 38%, 49%
CMYK
55%, 53%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #4D51AC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

77, 81, 172

Red: 77 / Green: 81 / Blue: 172

HSL

237°, 38%, 49%

Hue: 237° / Saturation: 38% / Lightness: 49%

CMYK

55%, 53%, 0%, 33%

Cyan: 55% / Magenta: 53% / Yellow: 0% / Key: 33%

What color is #4D51AC?

#4D51AC is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4D51AC to RGB:

rgb(77, 81, 172)HEX to RGB Converter →

HEX to HSL

Convert #4D51AC to HSL:

hsl(237, 38%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #4D51AC to CMYK:

cmyk(55%, 53%, 0%, 33%)Color Converter →

Color Meaning and Usage

#4D51AC is a subtle blue color with RGB values of 77, 81, 172 and HSL of 237°, 38%, 49%. This blue-purple hue evokes creativity and luxury, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4D51AC is #ACA84D, creating high-contrast pairings. For softer combinations, try analogous colors like #4D82AC.

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

Contrast with #4D51AC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4D51AC?

#4D51AC is a subtle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4D51AC?

#4D51AC in RGB is (77, 81, 172) - 77 red, 81 green, and 172 blue.

How to use #4D51AC in CSS?

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

What colors go well with #4D51AC?

#ACA84D (complementary), #4D82AC (analogous), and #363978 (lighter shade) work well with #4D51AC.