#342565 Color Information

Hex color code: #342565

A soft blue shade, #342565 appears as (52, 37, 101) in RGB and (254°, 46%, 27%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Slate Gray
HEX
#342565
RGB
52, 37, 101
HSL
254°, 46%, 27%
CMYK
49%, 63%, 0%, 60%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #342565; 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 #342565; background-color: #34256515; }

Alert / Toast

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

Link / Accent

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

a { color: #342565; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #342565 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 37, 101

Red: 52 / Green: 37 / Blue: 101

HSL

254°, 46%, 27%

Hue: 254° / Saturation: 46% / Lightness: 27%

CMYK

49%, 63%, 0%, 60%

Cyan: 49% / Magenta: 63% / Yellow: 0% / Key: 60%

What color is #342565?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #342565 to RGB:

rgb(52, 37, 101)HEX to RGB Converter →

HEX to HSL

Convert #342565 to HSL:

hsl(254, 46%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #342565 to CMYK:

cmyk(49%, 63%, 0%, 60%)Color Converter →

Color Meaning and Usage

A gentle blue tone, #342565 has RGB (52, 37, 101) and HSL (254°, 46%, 27%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #342565 is #566525, creating high-contrast pairings. For softer combinations, try analogous colors like #253665.

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

Contrast with #342565

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #342565?

#342565 is a gentle blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #342565?

#342565 in RGB is (52, 37, 101) - 52 red, 37 green, and 101 blue.

How to use #342565 in CSS?

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

What colors go well with #342565?

#566525 (complementary), #253665 (analogous), and #17112D (lighter shade) work well with #342565.