#4540C5 Color Information

Hex color code: #4540C5

A cool blue shade, #4540C5 appears as (69, 64, 197) in RGB and (242°, 53%, 51%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSlate Blue
HEX
#4540C5
RGB
69, 64, 197
HSL
242°, 53%, 51%
CMYK
65%, 68%, 0%, 23%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #4540C5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

69, 64, 197

Red: 69 / Green: 64 / Blue: 197

HSL

242°, 53%, 51%

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

CMYK

65%, 68%, 0%, 23%

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

What color is #4540C5?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4540C5 to RGB:

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

HEX to HSL

Convert #4540C5 to HSL:

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

HEX to CMYK

Convert #4540C5 to CMYK:

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

Color Meaning and Usage

A serene blue tone, #4540C5 has RGB (69, 64, 197) and HSL (242°, 53%, 51%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4540C5 is #C0C440, creating high-contrast pairings. For softer combinations, try analogous colors like #407EC4.

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

Contrast with #4540C5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4540C5?

#4540C5 is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4540C5?

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

How to use #4540C5 in CSS?

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

What colors go well with #4540C5?

#C0C440 (complementary), #407EC4 (analogous), and #2E2B8C (lighter shade) work well with #4540C5.