#0000CD Color

Inspect #0000CD across formats, palettes, contrast and closest named color matches.

Color preview

#0000CD

Color formats

HEX
#0000CD
RGB
rgb(0, 0, 205)
RGBA
rgba(0, 0, 205, 1)
HSL
hsl(240, 100%, 40%)
HSV
hsv(240, 100%, 80%)
CMYK
cmyk(100%, 100%, 0%, 20%)
CSS variable
--color-primary: #0000CD;
Lowercase HEX
#0000cd

Shades

Tints

Tones

Harmony

CSS snippets for #0000CD

.color-0000cd {
  color: #0000CD;
  background-color: #0000CD;
}

Frequently asked questions

What color is #0000CD?+

#0000CD is a HEX color with RGB value rgb(0, 0, 205) and HSL value hsl(240, 100%, 40%). Its closest CSS named color is MediumBlue.

What is the closest Tailwind color to #0000CD?+

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