#1A237F Color

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

Color preview

#1A237F

Color formats

HEX
#1A237F
RGB
rgb(26, 35, 127)
RGBA
rgba(26, 35, 127, 1)
HSL
hsl(235, 66%, 30%)
HSV
hsv(235, 80%, 50%)
CMYK
cmyk(80%, 72%, 0%, 50%)
CSS variable
--color-primary: #1A237F;
Lowercase HEX
#1a237f

Shades

Tints

Tones

Harmony

CSS snippets for #1A237F

.color-1a237f {
  color: #1A237F;
  background-color: #1A237F;
}

Frequently asked questions

What color is #1A237F?+

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

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

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