#343F51 Color Information

Hex color code: #343F51

A gentle blue shade, #343F51 appears as (52, 63, 81) in RGB and (217°, 22%, 26%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#343F51
RGB
52, 63, 81
HSL
217°, 22%, 26%
CMYK
36%, 22%, 0%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #343F51; 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 #343F51; background-color: #343F5115; }

Alert / Toast

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

Link / Accent

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

a { color: #343F51; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #343F51 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 63, 81

Red: 52 / Green: 63 / Blue: 81

HSL

217°, 22%, 26%

Hue: 217° / Saturation: 22% / Lightness: 26%

CMYK

36%, 22%, 0%, 68%

Cyan: 36% / Magenta: 22% / Yellow: 0% / Key: 68%

What color is #343F51?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #343F51 to RGB:

rgb(52, 63, 81)HEX to RGB Converter →

HEX to HSL

Convert #343F51 to HSL:

hsl(217, 22%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #343F51 to CMYK:

cmyk(36%, 22%, 0%, 68%)Color Converter →

Color Meaning and Usage

A pastel blue tone, #343F51 has RGB (52, 63, 81) and HSL (217°, 22%, 26%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #343F51 is #514634, creating high-contrast pairings. For softer combinations, try analogous colors like #344D51.

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

Contrast with #343F51

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #343F51?

#343F51 is a pastel blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #343F51?

#343F51 in RGB is (52, 63, 81) - 52 red, 63 green, and 81 blue.

How to use #343F51 in CSS?

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

What colors go well with #343F51?

#514634 (complementary), #344D51 (analogous), and #161B22 (lighter shade) work well with #343F51.