#2F408E Color

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

Color preview

#2F408E

Color formats

HEX
#2F408E
RGB
rgb(47, 64, 142)
RGBA
rgba(47, 64, 142, 1)
HSL
hsl(229, 50%, 37%)
HSV
hsv(229, 67%, 56%)
CMYK
cmyk(67%, 55%, 0%, 44%)
CSS variable
--color-primary: #2F408E;
Lowercase HEX
#2f408e

Shades

Tints

Tones

Harmony

CSS snippets for #2F408E

.color-2f408e {
  color: #2F408E;
  background-color: #2F408E;
}

Frequently asked questions

What color is #2F408E?+

#2F408E is a HEX color with RGB value rgb(47, 64, 142) and HSL value hsl(229, 50%, 37%). Its closest CSS named color is DarkSlateBlue.

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

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