#040DC2 Color

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

Color preview

#040DC2

Color formats

HEX
#040DC2
RGB
rgb(4, 13, 194)
RGBA
rgba(4, 13, 194, 1)
HSL
hsl(237, 96%, 39%)
HSV
hsv(237, 98%, 76%)
CMYK
cmyk(98%, 93%, 0%, 24%)
CSS variable
--color-primary: #040DC2;
Lowercase HEX
#040dc2

Shades

Tints

Tones

Harmony

CSS snippets for #040DC2

.color-040dc2 {
  color: #040DC2;
  background-color: #040DC2;
}

Frequently asked questions

What color is #040DC2?+

#040DC2 is a HEX color with RGB value rgb(4, 13, 194) and HSL value hsl(237, 96%, 39%). Its closest CSS named color is MediumBlue.

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

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