#335275 Color Information

Hex color code: #335275

The hex color #335275 is a subtle blue with RGB values of (51, 82, 117) and HSL of (212°, 39%, 33%). It is popular in mobile app design.

Try:
Color NameDark Slate Blue
HEX
#335275
RGB
51, 82, 117
HSL
212°, 39%, 33%
CMYK
56%, 30%, 0%, 54%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #335275; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 82, 117

Red: 51 / Green: 82 / Blue: 117

HSL

212°, 39%, 33%

Hue: 212° / Saturation: 39% / Lightness: 33%

CMYK

56%, 30%, 0%, 54%

Cyan: 56% / Magenta: 30% / Yellow: 0% / Key: 54%

What color is #335275?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #335275 to RGB:

rgb(51, 82, 117)HEX to RGB Converter →

HEX to HSL

Convert #335275 to HSL:

hsl(212, 39%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #335275 to CMYK:

cmyk(56%, 30%, 0%, 54%)Color Converter →

Color Meaning and Usage

A delicate blue tone, #335275 has RGB (51, 82, 117) and HSL (212°, 39%, 33%). 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 #335275 is #755633, creating high-contrast pairings. For softer combinations, try analogous colors like #337375.

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

Contrast with #335275

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #335275?

#335275 is a delicate blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #335275?

#335275 in RGB is (51, 82, 117) - 51 red, 82 green, and 117 blue.

How to use #335275 in CSS?

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

What colors go well with #335275?

#755633 (complementary), #337375 (analogous), and #1C2D40 (lighter shade) work well with #335275.