Skip to main content

#2540AC

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
#2540AC
RGB
rgb(37, 64, 172)
RGBA
rgba(37, 64, 172, 1)
HSL
hsl(228, 64.59%, 40.98%)
HSLA
hsla(228, 65%, 41%, 1)
CMYK
cmyk(78%, 63%, 0%, 33%)

Color Palettes

Harmonious color combinations based on #2540AC

Monochromatic

Shades and tints of the same hue

#09102A
#1B2F7E
#2D4ED2
#8195E4
#D5DCF6

Analogous

Adjacent colors on the color wheel

#25AD91
#2584AD
#2540AC
#4D25AD
#9125AD

Complementary

Opposite color for maximum contrast

#2540AC
#AD9125

Triadic

Three evenly spaced colors

#2540AC
#AD2540
#40AD25

CSS Usage Examples

Background

background-color: #2540AC;

Text

color: #2540AC;

Border

border: 2px solid #2540AC;

Shadow

box-shadow: 0 4px 6px #2540AC40;
Feedback