#1A287F Color

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

Color preview

#1A287F

Color formats

HEX
#1A287F
RGB
rgb(26, 40, 127)
RGBA
rgba(26, 40, 127, 1)
HSL
hsl(232, 66%, 30%)
HSV
hsv(232, 80%, 50%)
CMYK
cmyk(80%, 69%, 0%, 50%)
CSS variable
--color-primary: #1A287F;
Lowercase HEX
#1a287f

Shades

Tints

Tones

Harmony

CSS snippets for #1A287F

.color-1a287f {
  color: #1A287F;
  background-color: #1A287F;
}

Frequently asked questions

What color is #1A287F?+

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

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

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