#040F67 Color

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

Color preview

#040F67

Color formats

HEX
#040F67
RGB
rgb(4, 15, 103)
RGBA
rgba(4, 15, 103, 1)
HSL
hsl(233, 93%, 21%)
HSV
hsv(233, 96%, 40%)
CMYK
cmyk(96%, 85%, 0%, 60%)
CSS variable
--color-primary: #040F67;
Lowercase HEX
#040f67

Shades

Tints

Tones

Harmony

CSS snippets for #040F67

.color-040f67 {
  color: #040F67;
  background-color: #040F67;
}

Frequently asked questions

What color is #040F67?+

#040F67 is a HEX color with RGB value rgb(4, 15, 103) and HSL value hsl(233, 93%, 21%). Its closest CSS named color is MidnightBlue.

What is the closest Tailwind color to #040F67?+

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