#3126AB Color Information

Hex color code: #3126AB

The hex color #3126AB is a tranquil blue with RGB values of (49, 38, 171) and HSL of (245°, 64%, 41%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#3126AB
RGB
49, 38, 171
HSL
245°, 64%, 41%
CMYK
71%, 78%, 0%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #3126AB; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 38, 171

Red: 49 / Green: 38 / Blue: 171

HSL

245°, 64%, 41%

Hue: 245° / Saturation: 64% / Lightness: 41%

CMYK

71%, 78%, 0%, 33%

Cyan: 71% / Magenta: 78% / Yellow: 0% / Key: 33%

What color is #3126AB?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3126AB to RGB:

rgb(49, 38, 171)HEX to RGB Converter →

HEX to HSL

Convert #3126AB to HSL:

hsl(245, 64%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #3126AB to CMYK:

cmyk(71%, 78%, 0%, 33%)Color Converter →

Color Meaning and Usage

#3126AB is a peaceful blue color with RGB values of 49, 38, 171 and HSL of 245°, 64%, 41%. This blue-purple hue evokes creativity and luxury, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3126AB is #A0AB26, creating high-contrast pairings. For softer combinations, try analogous colors like #265DAB.

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

Contrast with #3126AB

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3126AB?

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

What is the RGB value of #3126AB?

#3126AB in RGB is (49, 38, 171) - 49 red, 38 green, and 171 blue.

How to use #3126AB in CSS?

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

What colors go well with #3126AB?

#A0AB26 (complementary), #265DAB (analogous), and #1F186D (lighter shade) work well with #3126AB.