#240D5E Color

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

Color preview

#240D5E

Color formats

HEX
#240D5E
RGB
rgb(36, 13, 94)
RGBA
rgba(36, 13, 94, 1)
HSL
hsl(257, 76%, 21%)
HSV
hsv(257, 86%, 37%)
CMYK
cmyk(62%, 86%, 0%, 63%)
CSS variable
--color-primary: #240D5E;
Lowercase HEX
#240d5e

Shades

Tints

Tones

Harmony

CSS snippets for #240D5E

.color-240d5e {
  color: #240D5E;
  background-color: #240D5E;
}

Frequently asked questions

What color is #240D5E?+

#240D5E is a HEX color with RGB value rgb(36, 13, 94) and HSL value hsl(257, 76%, 21%). Its closest CSS named color is MidnightBlue.

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

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