#2E406B Color

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

Color preview

#2E406B

Color formats

HEX
#2E406B
RGB
rgb(46, 64, 107)
RGBA
rgba(46, 64, 107, 1)
HSL
hsl(222, 40%, 30%)
HSV
hsv(222, 57%, 42%)
CMYK
cmyk(57%, 40%, 0%, 58%)
CSS variable
--color-primary: #2E406B;
Lowercase HEX
#2e406b

Shades

Tints

Tones

Harmony

CSS snippets for #2E406B

.color-2e406b {
  color: #2E406B;
  background-color: #2E406B;
}

Frequently asked questions

What color is #2E406B?+

#2E406B is a HEX color with RGB value rgb(46, 64, 107) and HSL value hsl(222, 40%, 30%). Its closest CSS named color is DarkSlateGray.

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

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