Maroon Colors  ·  Color Library

Palettes / Colors / #302BC2

#302BC2 — Blue

#302BC2 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 #302BC2 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.

#302BC2 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 #BBC02A; it also sits naturally between #2A70C0 and #7A2AC0. In the palettes below you can see it working alongside real color combinations from our collection.

#302BC2 · RGB 48, 43, 194

Download PNG swatch SVG

Color values

HEX#302BC2
RGB48, 43, 194
HSL242°, 64%, 46%
HSV242°, 78%, 76%
CMYK75%, 78%, 0%, 24%
XYZ11.82, 6.25, 51.62
Yxy6.25, 0.1696, 0.0897
CIE-Lab30.04, 51.14, -76.58
Hunter Lab25.00, 42.64, -110.36

RGB & CMYK percentages

Red 19% · Green 17% · Blue 76%

Cyan 75% · Magenta 78% · Yellow 0% · Key 24%

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

Previews

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

CSS code for #302BC2

.text { color: #302BC2; }
.background { background-color: #302BC2; }
.border { border: 3px solid #302BC2; }
.text-rgb { color: rgb(48, 43, 194); }
.text-hsl { color: hsl(242, 64%, 46%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #302BC2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(48, 43, 194, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #302BC2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(48, 43, 194, 0.8); }

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

Shades of #302BC2

#2B27B0#27239F#221E8A#1E1B79#1A1769#161358#111047#0C0B32#080721#040411

Tints of #302BC2

#3732D2#4C47D7#605CDB#7571E0#8986E4#9D9BE9#B2B0EE#C6C4F2#DAD9F7#EFEEFB

Tones of #302BC2

#3935B6#433FAB#4D4AA1#585695#62608A#6B6B80

Color harmonies

Complementary — #BBC02A:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.33:1 AAA
Against black text2.25:1 Fails

Best text color on #302BC2: #FFFFFF.

Semi-transparent (opacity) text on #302BC2

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 #302BC2: ·

How #302BC2 looks with color blindness

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

Protanopia · #2E2E9DDeuteranopia · #2E2E95Tritanopia · #30817A

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 · #3F51B5Tailwind indigo 600 · #4F46E5Material Deep Purple 500 · #673AB7

Palettes with a similar color

These palettes use a close neighbour of #302BC2 rather than the exact color:

Scarlet Cinder
#908EE6 · #4F4BD8 · #2E2AC5 · #121155
Gentle Saffron
#A1A029 · #BBD351 · #3031BE · #BAC1E8
Crystal Ruby Opal
#C02A22 · #46DE4E · #2C24C7 · #EFCEC8
Royal Terrace
#1A5386 · #2E26CB · #9B43CF · #D83EB8
Wild Ruby Summit
#5C9FCF · #6E87D3 · #3A2FC0 · #B090DE
Radiant Ruby Mirage
#C5C6F1 · #7C7EE4 · #2A2CB6 · #1D1F8B

Similar colors

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

#2E2AC5#3031BE#2C24C7#2E26CB#3A2FC0#2A2CB6#2F1FC9#3336CA#362CB5#2A31CE#332FD0#2226C5

Browse neighbouring colors

← #302BC1  ·  #302BC3 →

Frequently asked questions

What color is #302BC2?

#302BC2 is Blue, a blue color (RGB 48, 43, 194). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #302BC2?

#302BC2 is RGB 48, 43, 194 — HSL 242°, 64%, 46% — CMYK 75%, 78%, 0%, 24%.

What colors go with #302BC2?

Its complement is #BBC02A; analogous partners are #2A70C0 and #7A2AC0. It also appears in 6+ palettes in our collection.

Can I use #302BC2 for text?

White text on #302BC2 has a contrast ratio of 9.33:1 (passes WCAG AA); black text gives 2.25:1.