#2D40D2 Color

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

Color preview

#2D40D2

Color formats

HEX
#2D40D2
RGB
rgb(45, 64, 210)
RGBA
rgba(45, 64, 210, 1)
HSL
hsl(233, 65%, 50%)
HSV
hsv(233, 79%, 82%)
CMYK
cmyk(79%, 70%, 0%, 18%)
CSS variable
--color-primary: #2D40D2;
Lowercase HEX
#2d40d2

Shades

Tints

Tones

Harmony

CSS snippets for #2D40D2

.color-2d40d2 {
  color: #2D40D2;
  background-color: #2D40D2;
}

Frequently asked questions

What color is #2D40D2?+

#2D40D2 is a HEX color with RGB value rgb(45, 64, 210) and HSL value hsl(233, 65%, 50%). Its closest CSS named color is RoyalBlue.

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

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