#1A2D7F Color

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

Color preview

#1A2D7F

Color formats

HEX
#1A2D7F
RGB
rgb(26, 45, 127)
RGBA
rgba(26, 45, 127, 1)
HSL
hsl(229, 66%, 30%)
HSV
hsv(229, 80%, 50%)
CMYK
cmyk(80%, 65%, 0%, 50%)
CSS variable
--color-primary: #1A2D7F;
Lowercase HEX
#1a2d7f

Shades

Tints

Tones

Harmony

CSS snippets for #1A2D7F

.color-1a2d7f {
  color: #1A2D7F;
  background-color: #1A2D7F;
}

Frequently asked questions

What color is #1A2D7F?+

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

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

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