Maroon Colors  ·  Color Library

Palettes / Colors / #2829A2

#2829A2 — Blue

#2829A2 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 #2829A2 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.

#2829A2 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 #A3A329; it also sits naturally between #2966A3 and #6629A3. In the palettes below you can see it working alongside real color combinations from our collection.

#2829A2 · RGB 40, 41, 162

Download PNG swatch SVG

Color values

HEX#2829A2
RGB40, 41, 162
HSL240°, 60%, 40%
HSV240°, 75%, 64%
CMYK75%, 75%, 0%, 36%
XYZ8.19, 4.65, 34.65
Yxy4.65, 0.1725, 0.0978
CIE-Lab25.70, 41.10, -64.65
Hunter Lab21.55, 31.75, -84.52

RGB & CMYK percentages

Red 16% · Green 16% · Blue 64%

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

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

Previews

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

CSS code for #2829A2

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

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

Shades of #2829A2

#252593#222287#1E1E76#1B1B6A#16165A#121249#0F0F3D#0B0B2D#080821#040410

Tints of #2829A2

#2F2FBC#3737CD#5050D3#6464D8#7C7CDE#9595E4#A9A9EA#C2C2F0#D6D6F5#EFEFFB

Tones of #2829A2

#32329A#3A3A92#434389#4B4B81#555577#5D5D6F

Color harmonies

Complementary — #A3A329:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.89:1 AAA
Against black text1.93:1 Fails

Best text color on #2829A2: #FFFFFF.

Semi-transparent (opacity) text on #2829A2

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 #2829A2: ·

How #2829A2 looks with color blindness

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

Protanopia · #282885Deuteranopia · #28287ETritanopia · #286E69

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 #2829A2 rather than the exact color:

Dreamy Tempest
#2529A4 · #A9262A · #3FD23B · #B2AFE3
Frozen Ruby Saffron
#B2B1F1 · #5553E4 · #2321A1 · #17166A
Burning Cinder
#1E2F9F · #DD4F62 · #3DCB27 · #B5B5E8
Dusty Petal
#8389D2 · #2B349C · #21276E · #181C48
Mellow Ruby Harbor
#272297 · #5C2796 · #942E9D · #A72F7C
Modern Aurora
#31CB53 · #1C9180 · #173F63 · #3325A8

Similar colors

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

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

Browse neighbouring colors

← #2829A1  ·  #2829A3 →

Frequently asked questions

What color is #2829A2?

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

What is the RGB and HSL of #2829A2?

#2829A2 is RGB 40, 41, 162 — HSL 240°, 60%, 40% — CMYK 75%, 75%, 0%, 36%.

What colors go with #2829A2?

Its complement is #A3A329; analogous partners are #2966A3 and #6629A3. It also appears in 6+ palettes in our collection.

Can I use #2829A2 for text?

White text on #2829A2 has a contrast ratio of 10.89:1 (passes WCAG AA); black text gives 1.93:1.