#240C83 Color

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

Color preview

#240C83

Color formats

HEX
#240C83
RGB
rgb(36, 12, 131)
RGBA
rgba(36, 12, 131, 1)
HSL
hsl(252, 83%, 28%)
HSV
hsv(252, 91%, 51%)
CMYK
cmyk(73%, 91%, 0%, 49%)
CSS variable
--color-primary: #240C83;
Lowercase HEX
#240c83

Shades

Tints

Tones

Harmony

CSS snippets for #240C83

.color-240c83 {
  color: #240C83;
  background-color: #240C83;
}

Frequently asked questions

What color is #240C83?+

#240C83 is a HEX color with RGB value rgb(36, 12, 131) and HSL value hsl(252, 83%, 28%). Its closest CSS named color is MidnightBlue.

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

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