Skip to main content

#0040CB

Share this color with others or download a color card image with HEX and RGB values. Perfect for social media, presentations, or design reference.

All Formats

HEX
#0040CB
RGB
rgb(0, 64, 203)
RGBA
rgba(0, 64, 203, 1)
HSL
hsl(221.08, 100%, 39.8%)
HSLA
hsla(221, 100%, 40%, 1)
CMYK
cmyk(100%, 68%, 0%, 20%)

Color Palettes

Harmonious color combinations based on #0040CB

Monochromatic

Shades and tints of the same hue

#001033
#003099
#0051FF
#6696FF
#CCDCFF

Analogous

Adjacent colors on the color wheel

#00CC8B
#00A7CC
#0040CB
#2500CC
#8B00CC

Complementary

Opposite color for maximum contrast

#0040CB
#CC8B00

Triadic

Three evenly spaced colors

#0040CB
#CC0041
#41CC00

CSS Usage Examples

Background

background-color: #0040CB;

Text

color: #0040CB;

Border

border: 2px solid #0040CB;

Shadow

box-shadow: 0 4px 6px #0040CB40;
Feedback