#335CA2 Color

Inspect #335CA2 across formats, palettes, contrast and closest named color matches.

Color preview

#335CA2

Color formats

HEX
#335CA2
RGB
rgb(51, 92, 162)
RGBA
rgba(51, 92, 162, 1)
HSL
hsl(218, 52%, 42%)
HSV
hsv(218, 69%, 64%)
CMYK
cmyk(69%, 43%, 0%, 36%)
CSS variable
--color-primary: #335CA2;
Lowercase HEX
#335ca2

Shades

Tints

Tones

Harmony

CSS snippets for #335CA2

.color-335ca2 {
  color: #335CA2;
  background-color: #335CA2;
}

Frequently asked questions

What color is #335CA2?+

#335CA2 is a HEX color with RGB value rgb(51, 92, 162) and HSL value hsl(218, 52%, 42%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #335CA2?+

The closest Tailwind color is blue-800, available as the bg-blue-800 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools