#4840CE Color Information

Hex color code: #4840CE

A cool blue shade, #4840CE appears as (72, 64, 206) in RGB and (243°, 59%, 53%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSlate Blue
HEX
#4840CE
RGB
72, 64, 206
HSL
243°, 59%, 53%
CMYK
65%, 69%, 0%, 19%

Shades

CSS Usage
color: #4840CE;
background-color: #4840CE;
border-color: #4840CE;
box-shadow: 0 0 10px #4840CE;
border: 2px solid #4840CE;
Tailwind Usage
bg-[#4840CE]
text-[#4840CE]
border-[#4840CE]
shadow-[0_0_10px_4840CE]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4840CE, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4840CE; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4840CE; 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 #4840CE; background-color: #4840CE15; }

Alert / Toast

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

Link / Accent

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

a { color: #4840CE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4840CE in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

72, 64, 206

Red: 72 / Green: 64 / Blue: 206

HSL

243°, 59%, 53%

Hue: 243° / Saturation: 59% / Lightness: 53%

CMYK

65%, 69%, 0%, 19%

Cyan: 65% / Magenta: 69% / Yellow: 0% / Key: 19%

What color is #4840CE?

#4840CE is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4840CE to RGB:

rgb(72, 64, 206)HEX to RGB Converter →

HEX to HSL

Convert #4840CE to HSL:

hsl(243, 59%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #4840CE to CMYK:

cmyk(65%, 69%, 0%, 19%)Color Converter →

Color Meaning and Usage

#4840CE is a tranquil blue color with RGB values of 72, 64, 206 and HSL of 243°, 59%, 53%. This blue-purple hue evokes creativity and luxury, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4840CE is #C7CE40, creating high-contrast pairings. For softer combinations, try analogous colors like #4080CE.

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

Contrast with #4840CE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4840CE?

#4840CE is a tranquil blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4840CE?

#4840CE in RGB is (72, 64, 206) - 72 red, 64 green, and 206 blue.

How to use #4840CE in CSS?

Use #4840CE directly in your CSS properties like color or background-color.

What colors go well with #4840CE?

#C7CE40 (complementary), #4080CE (analogous), and #2D289A (lighter shade) work well with #4840CE.