#4048BF Color Information

Hex color code: #4048BF

A tranquil blue shade, #4048BF appears as (64, 72, 191) in RGB and (236°, 50%, 50%) in HSL. It is widely used in graphic design.

Try:
Color NameRoyal Blue
HEX
#4048BF
RGB
64, 72, 191
HSL
236°, 50%, 50%
CMYK
66%, 62%, 0%, 25%

Shades

CSS Usage
color: #4048BF;
background-color: #4048BF;
border-color: #4048BF;
box-shadow: 0 0 10px #4048BF;
border: 2px solid #4048BF;
Tailwind Usage
bg-[#4048BF]
text-[#4048BF]
border-[#4048BF]
shadow-[0_0_10px_4048BF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4048BF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4048BF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4048BF; 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 #4048BF; background-color: #4048BF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #4048BF20; border-left: 4px solid #4048BF; }

Link / Accent

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

a { color: #4048BF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4048BF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 72, 191

Red: 64 / Green: 72 / Blue: 191

HSL

236°, 50%, 50%

Hue: 236° / Saturation: 50% / Lightness: 50%

CMYK

66%, 62%, 0%, 25%

Cyan: 66% / Magenta: 62% / Yellow: 0% / Key: 25%

What color is #4048BF?

#4048BF is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4048BF to RGB:

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

HEX to HSL

Convert #4048BF to HSL:

hsl(236, 50%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #4048BF to CMYK:

cmyk(66%, 62%, 0%, 25%)Color Converter →

Color Meaning and Usage

#4048BF is a serene blue color with RGB values of 64, 72, 191 and HSL of 236°, 50%, 50%. This blue-purple hue evokes creativity and luxury, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4048BF is #BFB740, creating high-contrast pairings. For softer combinations, try analogous colors like #4088BF.

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

Contrast with #4048BF

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 #4048BF?

#4048BF is a serene blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #4048BF?

#4048BF in RGB is (64, 72, 191) - 64 red, 72 green, and 191 blue.

How to use #4048BF in CSS?

Use #4048BF directly in your CSS properties like color or background-color.

What colors go well with #4048BF?

#BFB740 (complementary), #4088BF (analogous), and #2D3386 (lighter shade) work well with #4048BF.