#1D2A9F Color

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

Color preview

#1D2A9F

Color formats

HEX
#1D2A9F
RGB
rgb(29, 42, 159)
RGBA
rgba(29, 42, 159, 1)
HSL
hsl(234, 69%, 37%)
HSV
hsv(234, 82%, 62%)
CMYK
cmyk(82%, 74%, 0%, 38%)
CSS variable
--color-primary: #1D2A9F;
Lowercase HEX
#1d2a9f

Shades

Tints

Tones

Harmony

CSS snippets for #1D2A9F

.color-1d2a9f {
  color: #1D2A9F;
  background-color: #1D2A9F;
}

Frequently asked questions

What color is #1D2A9F?+

#1D2A9F is a HEX color with RGB value rgb(29, 42, 159) and HSL value hsl(234, 69%, 37%). Its closest CSS named color is MidnightBlue.

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

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