#1E226E Color

Inspect #1E226E across formats, palettes, contrast and closest named color matches.

Color preview

#1E226E

Color formats

HEX
#1E226E
RGB
rgb(30, 34, 110)
RGBA
rgba(30, 34, 110, 1)
HSL
hsl(237, 57%, 27%)
HSV
hsv(237, 73%, 43%)
CMYK
cmyk(73%, 69%, 0%, 57%)
CSS variable
--color-primary: #1E226E;
Lowercase HEX
#1e226e

Shades

Tints

Tones

Harmony

CSS snippets for #1E226E

.color-1e226e {
  color: #1E226E;
  background-color: #1E226E;
}

Frequently asked questions

What color is #1E226E?+

#1E226E is a HEX color with RGB value rgb(30, 34, 110) and HSL value hsl(237, 57%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #1E226E?+

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