#342C6D Color Information

Hex color code: #342C6D

#342C6D is a delicate blue color. In RGB it is (52, 44, 109), and in HSL it is (247°, 42%, 30%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#342C6D
RGB
52, 44, 109
HSL
247°, 42%, 30%
CMYK
52%, 60%, 0%, 57%

Shades

CSS Usage
color: #342C6D;
background-color: #342C6D;
border-color: #342C6D;
box-shadow: 0 0 10px #342C6D;
border: 2px solid #342C6D;
Tailwind Usage
bg-[#342C6D]
text-[#342C6D]
border-[#342C6D]
shadow-[0_0_10px_342C6D]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #342C6D, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #342C6D; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #342C6D; 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 #342C6D; background-color: #342C6D15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #342C6D20; border-left: 4px solid #342C6D; }

Link / Accent

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

a { color: #342C6D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #342C6D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 44, 109

Red: 52 / Green: 44 / Blue: 109

HSL

247°, 42%, 30%

Hue: 247° / Saturation: 42% / Lightness: 30%

CMYK

52%, 60%, 0%, 57%

Cyan: 52% / Magenta: 60% / Yellow: 0% / Key: 57%

What color is #342C6D?

#342C6D is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #342C6D to RGB:

rgb(52, 44, 109)HEX to RGB Converter →

HEX to HSL

Convert #342C6D to HSL:

hsl(247, 42%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #342C6D to CMYK:

cmyk(52%, 60%, 0%, 57%)Color Converter →

Color Meaning and Usage

A soft blue tone, #342C6D has RGB (52, 44, 109) and HSL (247°, 42%, 30%). Known for evoking creativity and luxury, this blue-purple hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #342C6D is #656D2C, creating high-contrast pairings. For softer combinations, try analogous colors like #2C456D.

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

Contrast with #342C6D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #342C6D?

#342C6D is a soft blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #342C6D?

#342C6D in RGB is (52, 44, 109) - 52 red, 44 green, and 109 blue.

How to use #342C6D in CSS?

Use #342C6D directly in your CSS properties like color or background-color.

What colors go well with #342C6D?

#656D2C (complementary), #2C456D (analogous), and #1A1636 (lighter shade) work well with #342C6D.