#242168 Color

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

Color preview

#242168

Color formats

HEX
#242168
RGB
rgb(36, 33, 104)
RGBA
rgba(36, 33, 104, 1)
HSL
hsl(243, 52%, 27%)
HSV
hsv(243, 68%, 41%)
CMYK
cmyk(65%, 68%, 0%, 59%)
CSS variable
--color-primary: #242168;
Lowercase HEX
#242168

Shades

Tints

Tones

Harmony

CSS snippets for #242168

.color-242168 {
  color: #242168;
  background-color: #242168;
}

Frequently asked questions

What color is #242168?+

#242168 is a HEX color with RGB value rgb(36, 33, 104) and HSL value hsl(243, 52%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #242168?+

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