#140F7E Color

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

Color preview

#140F7E

Color formats

HEX
#140F7E
RGB
rgb(20, 15, 126)
RGBA
rgba(20, 15, 126, 1)
HSL
hsl(243, 79%, 28%)
HSV
hsv(243, 88%, 49%)
CMYK
cmyk(84%, 88%, 0%, 51%)
CSS variable
--color-primary: #140F7E;
Lowercase HEX
#140f7e

Shades

Tints

Tones

Harmony

CSS snippets for #140F7E

.color-140f7e {
  color: #140F7E;
  background-color: #140F7E;
}

Frequently asked questions

What color is #140F7E?+

#140F7E is a HEX color with RGB value rgb(20, 15, 126) and HSL value hsl(243, 79%, 28%). Its closest CSS named color is MidnightBlue.

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

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