#240F80 Color

Inspect #240F80 across formats, palettes, contrast and closest named color matches.

Color preview

#240F80

Color formats

HEX
#240F80
RGB
rgb(36, 15, 128)
RGBA
rgba(36, 15, 128, 1)
HSL
hsl(251, 79%, 28%)
HSV
hsv(251, 88%, 50%)
CMYK
cmyk(72%, 88%, 0%, 50%)
CSS variable
--color-primary: #240F80;
Lowercase HEX
#240f80

Shades

Tints

Tones

Harmony

CSS snippets for #240F80

.color-240f80 {
  color: #240F80;
  background-color: #240F80;
}

Frequently asked questions

What color is #240F80?+

#240F80 is a HEX color with RGB value rgb(36, 15, 128) and HSL value hsl(251, 79%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #240F80?+

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