#1F396F Color

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

Color preview

#1F396F

Color formats

HEX
#1F396F
RGB
rgb(31, 57, 111)
RGBA
rgba(31, 57, 111, 1)
HSL
hsl(220, 56%, 28%)
HSV
hsv(220, 72%, 44%)
CMYK
cmyk(72%, 49%, 0%, 56%)
CSS variable
--color-primary: #1F396F;
Lowercase HEX
#1f396f

Shades

Tints

Tones

Harmony

CSS snippets for #1F396F

.color-1f396f {
  color: #1F396F;
  background-color: #1F396F;
}

Frequently asked questions

What color is #1F396F?+

#1F396F is a HEX color with RGB value rgb(31, 57, 111) and HSL value hsl(220, 56%, 28%). Its closest CSS named color is MidnightBlue.

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

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