#251F8F Color

Inspect #251F8F across formats, palettes, contrast and closest named color matches.

Color preview

#251F8F

Color formats

HEX
#251F8F
RGB
rgb(37, 31, 143)
RGBA
rgba(37, 31, 143, 1)
HSL
hsl(243, 64%, 34%)
HSV
hsv(243, 78%, 56%)
CMYK
cmyk(74%, 78%, 0%, 44%)
CSS variable
--color-primary: #251F8F;
Lowercase HEX
#251f8f

Shades

Tints

Tones

Harmony

CSS snippets for #251F8F

.color-251f8f {
  color: #251F8F;
  background-color: #251F8F;
}

Frequently asked questions

What color is #251F8F?+

#251F8F is a HEX color with RGB value rgb(37, 31, 143) and HSL value hsl(243, 64%, 34%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #251F8F?+

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