#4940C5 Color Information

Hex color code: #4940C5

#4940C5 is a calming blue color. In RGB it is (73, 64, 197), and in HSL it is (244°, 53%, 51%). It is frequently seen in web interfaces.

Try:
Color NameSlate Blue
HEX
#4940C5
RGB
73, 64, 197
HSL
244°, 53%, 51%
CMYK
63%, 68%, 0%, 23%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4940C5, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4940C5; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4940C5; 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 #4940C5; background-color: #4940C515; }

Alert / Toast

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

Link / Accent

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

a { color: #4940C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4940C5 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

73, 64, 197

Red: 73 / Green: 64 / Blue: 197

HSL

244°, 53%, 51%

Hue: 244° / Saturation: 53% / Lightness: 51%

CMYK

63%, 68%, 0%, 23%

Cyan: 63% / Magenta: 68% / Yellow: 0% / Key: 23%

What color is #4940C5?

#4940C5 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4940C5 to RGB:

rgb(73, 64, 197)HEX to RGB Converter →

HEX to HSL

Convert #4940C5 to HSL:

hsl(244, 53%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #4940C5 to CMYK:

cmyk(63%, 68%, 0%, 23%)Color Converter →

Color Meaning and Usage

#4940C5 is a tranquil blue color with RGB values of 73, 64, 197 and HSL of 244°, 53%, 51%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4940C5 is #BBC440, creating high-contrast pairings. For softer combinations, try analogous colors like #4079C4.

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

Contrast with #4940C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4940C5?

#4940C5 is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4940C5?

#4940C5 in RGB is (73, 64, 197) - 73 red, 64 green, and 197 blue.

How to use #4940C5 in CSS?

Use #4940C5 directly in your CSS properties like color or background-color.

What colors go well with #4940C5?

#BBC440 (complementary), #4079C4 (analogous), and #322B8C (lighter shade) work well with #4940C5.