#304B9C Color

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

Color preview

#304B9C

Color formats

HEX
#304B9C
RGB
rgb(48, 75, 156)
RGBA
rgba(48, 75, 156, 1)
HSL
hsl(225, 53%, 40%)
HSV
hsv(225, 69%, 61%)
CMYK
cmyk(69%, 52%, 0%, 39%)
CSS variable
--color-primary: #304B9C;
Lowercase HEX
#304b9c

Shades

Tints

Tones

Harmony

CSS snippets for #304B9C

.color-304b9c {
  color: #304B9C;
  background-color: #304B9C;
}

Frequently asked questions

What color is #304B9C?+

#304B9C is a HEX color with RGB value rgb(48, 75, 156) and HSL value hsl(225, 53%, 40%). Its closest CSS named color is DarkSlateBlue.

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

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