#140F7B Color

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

Color preview

#140F7B

Color formats

HEX
#140F7B
RGB
rgb(20, 15, 123)
RGBA
rgba(20, 15, 123, 1)
HSL
hsl(243, 78%, 27%)
HSV
hsv(243, 88%, 48%)
CMYK
cmyk(84%, 88%, 0%, 52%)
CSS variable
--color-primary: #140F7B;
Lowercase HEX
#140f7b

Shades

Tints

Tones

Harmony

CSS snippets for #140F7B

.color-140f7b {
  color: #140F7B;
  background-color: #140F7B;
}

Frequently asked questions

What color is #140F7B?+

#140F7B is a HEX color with RGB value rgb(20, 15, 123) and HSL value hsl(243, 78%, 27%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #140F7B?+

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