#4940CB Color Information

Hex color code: #4940CB

#4940CB is a calming blue color. In RGB it is (73, 64, 203), and in HSL it is (244°, 57%, 52%). It is frequently seen in web interfaces.

Try:
Color NameSlate Blue
HEX
#4940CB
RGB
73, 64, 203
HSL
244°, 57%, 52%
CMYK
64%, 68%, 0%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #4940CB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

73, 64, 203

Red: 73 / Green: 64 / Blue: 203

HSL

244°, 57%, 52%

Hue: 244° / Saturation: 57% / Lightness: 52%

CMYK

64%, 68%, 0%, 20%

Cyan: 64% / Magenta: 68% / Yellow: 0% / Key: 20%

What color is #4940CB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4940CB to RGB:

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

HEX to HSL

Convert #4940CB to HSL:

hsl(244, 57%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #4940CB to CMYK:

cmyk(64%, 68%, 0%, 20%)Color Converter →

Color Meaning and Usage

A cool blue tone, #4940CB has RGB (73, 64, 203) and HSL (244°, 57%, 52%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4940CB is #C1CA3F, creating high-contrast pairings. For softer combinations, try analogous colors like #3F7BCA.

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

Contrast with #4940CB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4940CB?

#4940CB is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4940CB?

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

How to use #4940CB in CSS?

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

What colors go well with #4940CB?

#C1CA3F (complementary), #3F7BCA (analogous), and #302994 (lighter shade) work well with #4940CB.