#242F6B Color

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

Color preview

#242F6B

Color formats

HEX
#242F6B
RGB
rgb(36, 47, 107)
RGBA
rgba(36, 47, 107, 1)
HSL
hsl(231, 50%, 28%)
HSV
hsv(231, 66%, 42%)
CMYK
cmyk(66%, 56%, 0%, 58%)
CSS variable
--color-primary: #242F6B;
Lowercase HEX
#242f6b

Shades

Tints

Tones

Harmony

CSS snippets for #242F6B

.color-242f6b {
  color: #242F6B;
  background-color: #242F6B;
}

Frequently asked questions

What color is #242F6B?+

#242F6B is a HEX color with RGB value rgb(36, 47, 107) and HSL value hsl(231, 50%, 28%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #242F6B?+

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