#3540DA Color Information

Hex color code: #3540DA

#3540DA is a serene blue color. In RGB it is (53, 64, 218), and in HSL it is (236°, 69%, 53%). It is popular in mobile app design.

Try:
Color NameRoyal Blue
HEX
#3540DA
RGB
53, 64, 218
HSL
236°, 69%, 53%
CMYK
76%, 71%, 0%, 15%

Shades

CSS Usage
color: #3540DA;
background-color: #3540DA;
border-color: #3540DA;
box-shadow: 0 0 10px #3540DA;
border: 2px solid #3540DA;
Tailwind Usage
bg-[#3540DA]
text-[#3540DA]
border-[#3540DA]
shadow-[0_0_10px_3540DA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3540DA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3540DA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3540DA; 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 #3540DA; background-color: #3540DA15; }

Alert / Toast

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

Link / Accent

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

a { color: #3540DA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3540DA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

53, 64, 218

Red: 53 / Green: 64 / Blue: 218

HSL

236°, 69%, 53%

Hue: 236° / Saturation: 69% / Lightness: 53%

CMYK

76%, 71%, 0%, 15%

Cyan: 76% / Magenta: 71% / Yellow: 0% / Key: 15%

What color is #3540DA?

#3540DA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3540DA to RGB:

rgb(53, 64, 218)HEX to RGB Converter →

HEX to HSL

Convert #3540DA to HSL:

hsl(236, 69%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #3540DA to CMYK:

cmyk(76%, 71%, 0%, 15%)Color Converter →

Color Meaning and Usage

#3540DA is a peaceful blue color with RGB values of 53, 64, 218 and HSL of 236°, 69%, 53%. 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 #3540DA is #DACF34, creating high-contrast pairings. For softer combinations, try analogous colors like #3492DA.

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

Contrast with #3540DA

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 #3540DA?

#3540DA is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #3540DA?

#3540DA in RGB is (53, 64, 218) - 53 red, 64 green, and 218 blue.

How to use #3540DA in CSS?

Use #3540DA directly in your CSS properties like color or background-color.

What colors go well with #3540DA?

#DACF34 (complementary), #3492DA (analogous), and #1E27A4 (lighter shade) work well with #3540DA.