#212F6E Color

Inspect #212F6E across formats, palettes, contrast and closest named color matches.

Color preview

#212F6E

Color formats

HEX
#212F6E
RGB
rgb(33, 47, 110)
RGBA
rgba(33, 47, 110, 1)
HSL
hsl(229, 54%, 28%)
HSV
hsv(229, 70%, 43%)
CMYK
cmyk(70%, 57%, 0%, 57%)
CSS variable
--color-primary: #212F6E;
Lowercase HEX
#212f6e

Shades

Tints

Tones

Harmony

CSS snippets for #212F6E

.color-212f6e {
  color: #212F6E;
  background-color: #212F6E;
}

Frequently asked questions

What color is #212F6E?+

#212F6E is a HEX color with RGB value rgb(33, 47, 110) and HSL value hsl(229, 54%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #212F6E?+

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