Maroon Colors  ·  Color Library

Palettes / Colors / #2D2ABA

#2D2ABA — Blue

#2D2ABA 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 #2D2ABA 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.

#2D2ABA 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 #B9BB2A; it also sits naturally between #2A70BB and #752ABB. In the palettes below you can see it working alongside real color combinations from our collection.

#2D2ABA · RGB 45, 42, 186

Download PNG swatch SVG

Color values

HEX#2D2ABA
RGB45, 42, 186
HSL241°, 63%, 45%
HSV241°, 77%, 73%
CMYK76%, 77%, 0%, 27%
XYZ10.77, 5.76, 47.00
Yxy5.76, 0.1696, 0.0906
CIE-Lab28.80, 48.89, -73.91
Hunter Lab24.00, 40.04, -104.49

RGB & CMYK percentages

Red 18% · Green 16% · Blue 73%

Cyan 76% · Magenta 77% · Yellow 0% · Key 27%

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

Previews

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

CSS code for #2D2ABA

.text { color: #2D2ABA; }
.background { background-color: #2D2ABA; }
.border { border: 3px solid #2D2ABA; }
.text-rgb { color: rgb(45, 42, 186); }
.text-hsl { color: hsl(241, 63%, 45%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2D2ABA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(45, 42, 186, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2D2ABA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(45, 42, 186, 0.8); }

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

Shades of #2D2ABA

#2927AA#25239A#211F89#1D1B79#191868#141353#100F43#0C0B32#080821#040411

Tints of #2D2ABA

#322FD0#4644D5#5B59D9#6F6EDE#8886E4#9D9BE8#B1B0ED#C6C5F2#DADAF7#EFEEFB

Tones of #2D2ABA

#3735B1#413FA6#4B499C#555492#5F5E87#69687D

Color harmonies

Complementary — #B9BB2A:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.76:1 AAA
Against black text2.15:1 Fails

Best text color on #2D2ABA: #FFFFFF.

Semi-transparent (opacity) text on #2D2ABA

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 #2D2ABA: ·

How #2D2ABA looks with color blindness

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

Protanopia · #2C2C97Deuteranopia · #2C2C8FTritanopia · #2D7C76

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 indigo 600 · #4F46E5

Palettes with a similar color

These palettes use a close neighbour of #2D2ABA rather than the exact color:

Radiant Ruby Mirage
#C5C6F1 · #7C7EE4 · #2A2CB6 · #1D1F8B
Vintage Ruby Aurora
#2828B5 · #531F8D · #D858DF · #D62B8E
Gentle Saffron
#A1A029 · #BBD351 · #3031BE · #BAC1E8
Vintage Ruby Petal
#362CB5 · #D55E54 · #4ED458 · #D8D4EF
Crystal Cinder
#23A971 · #4FC5CC · #316AAC · #2523B7
Scarlet Cinder
#908EE6 · #4F4BD8 · #2E2AC5 · #121155

Similar colors

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

#2A2CB6#2828B5#3031BE#362CB5#2523B7#2E2AC5#212AB5#2028BA#2F36B4#2C24C7#3A2FC0#2226C5

Browse neighbouring colors

← #2D2AB9  ·  #2D2ABB →

Frequently asked questions

What color is #2D2ABA?

#2D2ABA is Blue, a blue color (RGB 45, 42, 186). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #2D2ABA?

#2D2ABA is RGB 45, 42, 186 — HSL 241°, 63%, 45% — CMYK 76%, 77%, 0%, 27%.

What colors go with #2D2ABA?

Its complement is #B9BB2A; analogous partners are #2A70BB and #752ABB. It also appears in 6+ palettes in our collection.

Can I use #2D2ABA for text?

White text on #2D2ABA has a contrast ratio of 9.76:1 (passes WCAG AA); black text gives 2.15:1.