#2E407F Color

Inspect #2E407F across formats, palettes, contrast and closest named color matches.

Color preview

#2E407F

Color formats

HEX
#2E407F
RGB
rgb(46, 64, 127)
RGBA
rgba(46, 64, 127, 1)
HSL
hsl(227, 47%, 34%)
HSV
hsv(227, 64%, 50%)
CMYK
cmyk(64%, 50%, 0%, 50%)
CSS variable
--color-primary: #2E407F;
Lowercase HEX
#2e407f

Shades

Tints

Tones

Harmony

CSS snippets for #2E407F

.color-2e407f {
  color: #2E407F;
  background-color: #2E407F;
}

Frequently asked questions

What color is #2E407F?+

#2E407F is a HEX color with RGB value rgb(46, 64, 127) and HSL value hsl(227, 47%, 34%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #2E407F?+

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