#3948EF Color Information

Hex color code: #3948EF

A striking blue shade, #3948EF appears as (57, 72, 239) in RGB and (235°, 85%, 58%) in HSL. It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#3948EF
RGB
57, 72, 239
HSL
235°, 85%, 58%
CMYK
76%, 70%, 0%, 6%

Shades

CSS Usage
color: #3948EF;
background-color: #3948EF;
border-color: #3948EF;
box-shadow: 0 0 10px #3948EF;
border: 2px solid #3948EF;
Tailwind Usage
bg-[#3948EF]
text-[#3948EF]
border-[#3948EF]
shadow-[0_0_10px_3948EF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3948EF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3948EF; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3948EF; 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 #3948EF; background-color: #3948EF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3948EF20; border-left: 4px solid #3948EF; }

Link / Accent

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

a { color: #3948EF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3948EF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

57, 72, 239

Red: 57 / Green: 72 / Blue: 239

HSL

235°, 85%, 58%

Hue: 235° / Saturation: 85% / Lightness: 58%

CMYK

76%, 70%, 0%, 6%

Cyan: 76% / Magenta: 70% / Yellow: 0% / Key: 6%

What color is #3948EF?

#3948EF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3948EF to RGB:

rgb(57, 72, 239)HEX to RGB Converter →

HEX to HSL

Convert #3948EF to HSL:

hsl(235, 85%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #3948EF to CMYK:

cmyk(76%, 70%, 0%, 6%)Color Converter →

Color Meaning and Usage

A eye-catching blue tone, #3948EF has RGB (57, 72, 239) and HSL (235°, 85%, 58%). Known for evoking energy and excitement, this highly saturated hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3948EF is #EFE039, creating high-contrast pairings. For softer combinations, try analogous colors like #39A3EF.

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

Contrast with #3948EF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3948EF?

#3948EF is a eye-catching blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #3948EF?

#3948EF in RGB is (57, 72, 239) - 57 red, 72 green, and 239 blue.

How to use #3948EF in CSS?

Use #3948EF directly in your CSS properties like color or background-color.

What colors go well with #3948EF?

#EFE039 (complementary), #39A3EF (analogous), and #1020CB (lighter shade) work well with #3948EF.