#1A387F Color

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

Color preview

#1A387F

Color formats

HEX
#1A387F
RGB
rgb(26, 56, 127)
RGBA
rgba(26, 56, 127, 1)
HSL
hsl(222, 66%, 30%)
HSV
hsv(222, 80%, 50%)
CMYK
cmyk(80%, 56%, 0%, 50%)
CSS variable
--color-primary: #1A387F;
Lowercase HEX
#1a387f

Shades

Tints

Tones

Harmony

CSS snippets for #1A387F

.color-1a387f {
  color: #1A387F;
  background-color: #1A387F;
}

Frequently asked questions

What color is #1A387F?+

#1A387F is a HEX color with RGB value rgb(26, 56, 127) and HSL value hsl(222, 66%, 30%). Its closest CSS named color is MidnightBlue.

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

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