#40335B Color

Inspect #40335B across formats, palettes, contrast and closest named color matches.

Color preview

#40335B

Color formats

HEX
#40335B
RGB
rgb(64, 51, 91)
RGBA
rgba(64, 51, 91, 1)
HSL
hsl(260, 28%, 28%)
HSV
hsv(260, 44%, 36%)
CMYK
cmyk(30%, 44%, 0%, 64%)
CSS variable
--color-primary: #40335B;
Lowercase HEX
#40335b

Shades

Tints

Tones

Harmony

CSS snippets for #40335B

.color-40335b {
  color: #40335B;
  background-color: #40335B;
}

Frequently asked questions

What color is #40335B?+

#40335B is a HEX color with RGB value rgb(64, 51, 91) and HSL value hsl(260, 28%, 28%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #40335B?+

The closest Tailwind color is gray-700, available as the bg-gray-700 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