#240F9F Color

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

Color preview

#240F9F

Color formats

HEX
#240F9F
RGB
rgb(36, 15, 159)
RGBA
rgba(36, 15, 159, 1)
HSL
hsl(249, 83%, 34%)
HSV
hsv(249, 91%, 62%)
CMYK
cmyk(77%, 91%, 0%, 38%)
CSS variable
--color-primary: #240F9F;
Lowercase HEX
#240f9f

Shades

Tints

Tones

Harmony

CSS snippets for #240F9F

.color-240f9f {
  color: #240F9F;
  background-color: #240F9F;
}

Frequently asked questions

What color is #240F9F?+

#240F9F is a HEX color with RGB value rgb(36, 15, 159) and HSL value hsl(249, 83%, 34%). Its closest CSS named color is DarkBlue.

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

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