#304FA6 Color

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

Color preview

#304FA6

Color formats

HEX
#304FA6
RGB
rgb(48, 79, 166)
RGBA
rgba(48, 79, 166, 1)
HSL
hsl(224, 55%, 42%)
HSV
hsv(224, 71%, 65%)
CMYK
cmyk(71%, 52%, 0%, 35%)
CSS variable
--color-primary: #304FA6;
Lowercase HEX
#304fa6

Shades

Tints

Tones

Harmony

CSS snippets for #304FA6

.color-304fa6 {
  color: #304FA6;
  background-color: #304FA6;
}

Frequently asked questions

What color is #304FA6?+

#304FA6 is a HEX color with RGB value rgb(48, 79, 166) and HSL value hsl(224, 55%, 42%). Its closest CSS named color is DarkSlateBlue.

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

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