#3047AB Color Information

Hex color code: #3047AB

The hex color #3047AB is a calming blue with RGB values of (48, 71, 171) and HSL of (229°, 56%, 43%). It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#3047AB
RGB
48, 71, 171
HSL
229°, 56%, 43%
CMYK
72%, 58%, 0%, 33%

Shades

CSS Usage
color: #3047AB;
background-color: #3047AB;
border-color: #3047AB;
box-shadow: 0 0 10px #3047AB;
border: 2px solid #3047AB;
Tailwind Usage
bg-[#3047AB]
text-[#3047AB]
border-[#3047AB]
shadow-[0_0_10px_3047AB]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3047AB, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3047AB; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3047AB; 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 #3047AB; background-color: #3047AB15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3047AB20; border-left: 4px solid #3047AB; }

Link / Accent

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

a { color: #3047AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3047AB in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 71, 171

Red: 48 / Green: 71 / Blue: 171

HSL

229°, 56%, 43%

Hue: 229° / Saturation: 56% / Lightness: 43%

CMYK

72%, 58%, 0%, 33%

Cyan: 72% / Magenta: 58% / Yellow: 0% / Key: 33%

What color is #3047AB?

#3047AB is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3047AB to RGB:

rgb(48, 71, 171)HEX to RGB Converter →

HEX to HSL

Convert #3047AB to HSL:

hsl(229, 56%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #3047AB to CMYK:

cmyk(72%, 58%, 0%, 33%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #3047AB has RGB (48, 71, 171) and HSL (229°, 56%, 43%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3047AB is #AB9530, creating high-contrast pairings. For softer combinations, try analogous colors like #3084AB.

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

Contrast with #3047AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3047AB?

#3047AB is a peaceful blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #3047AB?

#3047AB in RGB is (48, 71, 171) - 48 red, 71 green, and 171 blue.

How to use #3047AB in CSS?

Use #3047AB directly in your CSS properties like color or background-color.

What colors go well with #3047AB?

#AB9530 (complementary), #3084AB (analogous), and #1F2E6F (lighter shade) work well with #3047AB.