#335CFF Color Information

Hex color code: #335CFF

#335CFF is a eye-catching blue color. In RGB it is (51, 92, 255), and in HSL it is (228°, 100%, 60%). It is widely used in graphic design.

Try:
Color NameRoyal Blue
HEX
#335CFF
RGB
51, 92, 255
HSL
228°, 100%, 60%
CMYK
80%, 64%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #335CFF; 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 #335CFF; background-color: #335CFF15; }

Alert / Toast

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

Link / Accent

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

a { color: #335CFF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #335CFF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

51, 92, 255

Red: 51 / Green: 92 / Blue: 255

HSL

228°, 100%, 60%

Hue: 228° / Saturation: 100% / Lightness: 60%

CMYK

80%, 64%, 0%, 0%

Cyan: 80% / Magenta: 64% / Yellow: 0% / Key: 0%

What color is #335CFF?

#335CFF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #335CFF to RGB:

rgb(51, 92, 255)HEX to RGB Converter →

HEX to HSL

Convert #335CFF to HSL:

hsl(228, 100%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #335CFF to CMYK:

cmyk(80%, 64%, 0%, 0%)Color Converter →

Color Meaning and Usage

A bold blue tone, #335CFF has RGB (51, 92, 255) and HSL (228°, 100%, 60%). Known for evoking energy and excitement, this highly saturated hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #335CFF is #FFD633, creating high-contrast pairings. For softer combinations, try analogous colors like #33C2FF.

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

Contrast with #335CFF

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #335CFF?

#335CFF is a bold blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #335CFF?

#335CFF in RGB is (51, 92, 255) - 51 red, 92 green, and 255 blue.

How to use #335CFF in CSS?

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

What colors go well with #335CFF?

#FFD633 (complementary), #33C2FF (analogous), and #002EE6 (lighter shade) work well with #335CFF.