#304DB5 Color

Inspect #304DB5 across formats, palettes, contrast and closest named color matches.

Color preview

#304DB5

Color formats

HEX
#304DB5
RGB
rgb(48, 77, 181)
RGBA
rgba(48, 77, 181, 1)
HSL
hsl(227, 58%, 45%)
HSV
hsv(227, 73%, 71%)
CMYK
cmyk(73%, 57%, 0%, 29%)
CSS variable
--color-primary: #304DB5;
Lowercase HEX
#304db5

Shades

Tints

Tones

Harmony

CSS snippets for #304DB5

.color-304db5 {
  color: #304DB5;
  background-color: #304DB5;
}

Frequently asked questions

What color is #304DB5?+

#304DB5 is a HEX color with RGB value rgb(48, 77, 181) and HSL value hsl(227, 58%, 45%). Its closest CSS named color is DarkSlateBlue.

What is the closest Tailwind color to #304DB5?+

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