#1C317D Color

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

Color preview

#1C317D

Color formats

HEX
#1C317D
RGB
rgb(28, 49, 125)
RGBA
rgba(28, 49, 125, 1)
HSL
hsl(227, 63%, 30%)
HSV
hsv(227, 78%, 49%)
CMYK
cmyk(78%, 61%, 0%, 51%)
CSS variable
--color-primary: #1C317D;
Lowercase HEX
#1c317d

Shades

Tints

Tones

Harmony

CSS snippets for #1C317D

.color-1c317d {
  color: #1C317D;
  background-color: #1C317D;
}

Frequently asked questions

What color is #1C317D?+

#1C317D is a HEX color with RGB value rgb(28, 49, 125) and HSL value hsl(227, 63%, 30%). Its closest CSS named color is MidnightBlue.

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

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