Maroon Colors  ·  Color Library

Palettes / Colors / #2829A4

#2829A4 — Blue

#2829A4 is a blue color we call Blue, closest to the named color DarkSlateBlue (#483D8B). It belongs to the blue family.

Color name

Closest CSS keyword: darkslateblue (#483D8B) — not an exact match. CSS darkslateblue gives you #483D8B, a different color; use #2829A4 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#2829A4 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #A4A428; it also sits naturally between #2866A4 and #6628A4. In the palettes below you can see it working alongside real color combinations from our collection.

#2829A4 · RGB 40, 41, 164

Download PNG swatch SVG

Color values

HEX#2829A4
RGB40, 41, 164
HSL240°, 61%, 40%
HSV240°, 76%, 64%
CMYK76%, 75%, 0%, 36%
XYZ8.37, 4.72, 35.59
Yxy4.72, 0.1719, 0.0969
CIE-Lab25.91, 41.78, -65.51
Hunter Lab21.72, 32.44, -86.33

RGB & CMYK percentages

Red 16% · Green 16% · Blue 64%

Cyan 76% · Magenta 75% · Yellow 0% · Key 36%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #2829A4 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #2829A4 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #2829A4

.text { color: #2829A4; }
.background { background-color: #2829A4; }
.border { border: 3px solid #2829A4; }
.text-rgb { color: rgb(40, 41, 164); }
.text-hsl { color: hsl(240, 61%, 40%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2829A4; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(40, 41, 164, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2829A4; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(40, 41, 164, 0.8); }

HTML: <p style="color:#2829A4">Text here</p> · <div style="background-color:#2829A4">Div content here</div>

Shades of #2829A4

#242494#212187#1D1D77#1A1A6B#16165A#12124A#0F0F3E#0B0B2D#080821#040410

Tints of #2829A4

#2E2EBD#3636CE#4E4ED4#6363D9#7C7CDF#9494E5#A9A9EA#C1C1F0#D6D6F5#EFEFFB

Tones of #2829A4

#31319B#393993#42428A#4B4B81#555577#5D5D6F

Color harmonies

Complementary — #A4A428:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.81:1 AAA
Against black text1.94:1 Fails

Best text color on #2829A4: #FFFFFF.

Semi-transparent (opacity) text on #2829A4

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #2829A4: ·

How #2829A4 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #282886Deuteranopia · #28287FTritanopia · #286F6A

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Indigo 500 · #3F51B5Material Deep Purple 500 · #673AB7Tailwind slate 600 · #475569

Palettes with a similar color

These palettes use a close neighbour of #2829A4 rather than the exact color:

Dreamy Tempest
#2529A4 · #A9262A · #3FD23B · #B2AFE3
Frozen Ruby Saffron
#B2B1F1 · #5553E4 · #2321A1 · #17166A
Modern Horizon
#29A89B · #1B5B88 · #212CAD · #5E23AD
Modern Aurora
#31CB53 · #1C9180 · #173F63 · #3325A8
Burning Cinder
#1E2F9F · #DD4F62 · #3DCB27 · #B5B5E8
Cosmic Orchard
#1B27A5 · #C92130 · #5FE352 · #D7DBF4

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#2529A4#2321A1#212CAD#3325A8#1E2F9F#1B27A5#2B349C#1A2CA3#272297#372CA1#301CA0#2B3499

Browse neighbouring colors

← #2829A3  ·  #2829A5 →

Frequently asked questions

What color is #2829A4?

#2829A4 is Blue, a blue color (RGB 40, 41, 164). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #2829A4?

#2829A4 is RGB 40, 41, 164 — HSL 240°, 61%, 40% — CMYK 76%, 75%, 0%, 36%.

What colors go with #2829A4?

Its complement is #A4A428; analogous partners are #2866A4 and #6628A4. It also appears in 6+ palettes in our collection.

Can I use #2829A4 for text?

White text on #2829A4 has a contrast ratio of 10.81:1 (passes WCAG AA); black text gives 1.94:1.