#20306F Color

Inspect #20306F across formats, palettes, contrast and closest named color matches.

Color preview

#20306F

Color formats

HEX
#20306F
RGB
rgb(32, 48, 111)
RGBA
rgba(32, 48, 111, 1)
HSL
hsl(228, 55%, 28%)
HSV
hsv(228, 71%, 44%)
CMYK
cmyk(71%, 57%, 0%, 56%)
CSS variable
--color-primary: #20306F;
Lowercase HEX
#20306f

Shades

Tints

Tones

Harmony

CSS snippets for #20306F

.color-20306f {
  color: #20306F;
  background-color: #20306F;
}

Frequently asked questions

What color is #20306F?+

#20306F is a HEX color with RGB value rgb(32, 48, 111) and HSL value hsl(228, 55%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #20306F?+

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