#1E284D Color

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

Color preview

#1E284D

Color formats

HEX
#1E284D
RGB
rgb(30, 40, 77)
RGBA
rgba(30, 40, 77, 1)
HSL
hsl(227, 44%, 21%)
HSV
hsv(227, 61%, 30%)
CMYK
cmyk(61%, 48%, 0%, 70%)
CSS variable
--color-primary: #1E284D;
Lowercase HEX
#1e284d

Shades

Tints

Tones

Harmony

CSS snippets for #1E284D

.color-1e284d {
  color: #1E284D;
  background-color: #1E284D;
}

Frequently asked questions

What color is #1E284D?+

#1E284D is a HEX color with RGB value rgb(30, 40, 77) and HSL value hsl(227, 44%, 21%). Its closest CSS named color is MidnightBlue.

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

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