#304CB1 Color

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

Color preview

#304CB1

Color formats

HEX
#304CB1
RGB
rgb(48, 76, 177)
RGBA
rgba(48, 76, 177, 1)
HSL
hsl(227, 57%, 44%)
HSV
hsv(227, 73%, 69%)
CMYK
cmyk(73%, 57%, 0%, 31%)
CSS variable
--color-primary: #304CB1;
Lowercase HEX
#304cb1

Shades

Tints

Tones

Harmony

CSS snippets for #304CB1

.color-304cb1 {
  color: #304CB1;
  background-color: #304CB1;
}

Frequently asked questions

What color is #304CB1?+

#304CB1 is a HEX color with RGB value rgb(48, 76, 177) and HSL value hsl(227, 57%, 44%). Its closest CSS named color is DarkSlateBlue.

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

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