#24246B Color

Inspect #24246B across formats, palettes, contrast and closest named color matches.

Color preview

#24246B

Color formats

HEX
#24246B
RGB
rgb(36, 36, 107)
RGBA
rgba(36, 36, 107, 1)
HSL
hsl(240, 50%, 28%)
HSV
hsv(240, 66%, 42%)
CMYK
cmyk(66%, 66%, 0%, 58%)
CSS variable
--color-primary: #24246B;
Lowercase HEX
#24246b

Shades

Tints

Tones

Harmony

CSS snippets for #24246B

.color-24246b {
  color: #24246B;
  background-color: #24246B;
}

Frequently asked questions

What color is #24246B?+

#24246B is a HEX color with RGB value rgb(36, 36, 107) and HSL value hsl(240, 50%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #24246B?+

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