#1A297F Color

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

Color preview

#1A297F

Color formats

HEX
#1A297F
RGB
rgb(26, 41, 127)
RGBA
rgba(26, 41, 127, 1)
HSL
hsl(231, 66%, 30%)
HSV
hsv(231, 80%, 50%)
CMYK
cmyk(80%, 68%, 0%, 50%)
CSS variable
--color-primary: #1A297F;
Lowercase HEX
#1a297f

Shades

Tints

Tones

Harmony

CSS snippets for #1A297F

.color-1a297f {
  color: #1A297F;
  background-color: #1A297F;
}

Frequently asked questions

What color is #1A297F?+

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

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

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