#345998 Color Information

Hex color code: #345998

A subtle blue shade, #345998 appears as (52, 89, 152) in RGB and (218°, 49%, 40%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#345998
RGB
52, 89, 152
HSL
218°, 49%, 40%
CMYK
66%, 41%, 0%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #345998; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 89, 152

Red: 52 / Green: 89 / Blue: 152

HSL

218°, 49%, 40%

Hue: 218° / Saturation: 49% / Lightness: 40%

CMYK

66%, 41%, 0%, 40%

Cyan: 66% / Magenta: 41% / Yellow: 0% / Key: 40%

What color is #345998?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #345998 to RGB:

rgb(52, 89, 152)HEX to RGB Converter →

HEX to HSL

Convert #345998 to HSL:

hsl(218, 49%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #345998 to CMYK:

cmyk(66%, 41%, 0%, 40%)Color Converter →

Color Meaning and Usage

A soft blue tone, #345998 has RGB (52, 89, 152) and HSL (218°, 49%, 40%). Known for evoking creativity and luxury, this blue-purple hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #345998 is #987334, creating high-contrast pairings. For softer combinations, try analogous colors like #348B98.

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

Contrast with #345998

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #345998?

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

What is the RGB value of #345998?

#345998 in RGB is (52, 89, 152) - 52 red, 89 green, and 152 blue.

How to use #345998 in CSS?

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

What colors go well with #345998?

#987334 (complementary), #348B98 (analogous), and #21375F (lighter shade) work well with #345998.