#4030CF Color Information

Hex color code: #4030CF

The hex color #4030CF is a peaceful blue with RGB values of (64, 48, 207) and HSL of (246°, 62%, 50%). It is typically applied in digital products.

Try:
Color NameSlate Blue
HEX
#4030CF
RGB
64, 48, 207
HSL
246°, 62%, 50%
CMYK
69%, 77%, 0%, 19%

Shades

CSS Usage
color: #4030CF;
background-color: #4030CF;
border-color: #4030CF;
box-shadow: 0 0 10px #4030CF;
border: 2px solid #4030CF;
Tailwind Usage
bg-[#4030CF]
text-[#4030CF]
border-[#4030CF]
shadow-[0_0_10px_4030CF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4030CF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4030CF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4030CF; 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 #4030CF; background-color: #4030CF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #4030CF20; border-left: 4px solid #4030CF; }

Link / Accent

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

a { color: #4030CF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4030CF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 48, 207

Red: 64 / Green: 48 / Blue: 207

HSL

246°, 62%, 50%

Hue: 246° / Saturation: 62% / Lightness: 50%

CMYK

69%, 77%, 0%, 19%

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

What color is #4030CF?

#4030CF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4030CF to RGB:

rgb(64, 48, 207)HEX to RGB Converter →

HEX to HSL

Convert #4030CF to HSL:

hsl(246, 62%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #4030CF to CMYK:

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

Color Meaning and Usage

#4030CF is a cool blue color with RGB values of 64, 48, 207 and HSL of 246°, 62%, 50%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4030CF is #BFCF30, creating high-contrast pairings. For softer combinations, try analogous colors like #3070CF.

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

Contrast with #4030CF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4030CF?

#4030CF is a cool blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4030CF?

#4030CF in RGB is (64, 48, 207) - 64 red, 48 green, and 207 blue.

How to use #4030CF in CSS?

Use #4030CF directly in your CSS properties like color or background-color.

What colors go well with #4030CF?

#BFCF30 (complementary), #3070CF (analogous), and #2D2291 (lighter shade) work well with #4030CF.