Maroon Colors  ·  Color Library

Palettes / Colors / #302DEB

#302DEB — Vivid Blue

#302DEB is a blue color we call Vivid Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.

Color name

Closest CSS keyword: royalblue (#4169E1) — not an exact match. CSS royalblue gives you #4169E1, a different color; use #302DEB 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.

#302DEB 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 #E8EB2D; it also sits naturally between #2D89EB and #8F2DEB. In the palettes below you can see it working alongside real color combinations from our collection.

#302DEB · RGB 48, 45, 235

Download PNG swatch SVG

Color values

HEX#302DEB
RGB48, 45, 235
HSL241°, 83%, 55%
HSV241°, 81%, 92%
CMYK80%, 81%, 0%, 8%
XYZ17.15, 8.50, 79.33
Yxy8.50, 0.1634, 0.0810
CIE-Lab35.01, 62.68, -92.02
Hunter Lab29.16, 56.41, -147.96

RGB & CMYK percentages

Red 19% · Green 18% · Blue 92%

Cyan 80% · Magenta 81% · Yellow 0% · Key 8%

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

Previews

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

CSS code for #302DEB

.text { color: #302DEB; }
.background { background-color: #302DEB; }
.border { border: 3px solid #302DEB; }
.text-rgb { color: rgb(48, 45, 235); }
.text-hsl { color: hsl(241, 83%, 55%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #302DEB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(48, 45, 235, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #302DEB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(48, 45, 235, 0.8); }

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

Shades of #302DEB

#1916E9#1714D2#1411BB#120FA3#0F0D8C#0C0A70#0A0859#070641#05042A#020213

Tints of #302DEB

#4340ED#5552EF#6765F1#7A78F2#918FF5#A3A2F6#B5B4F8#C8C7FA#DADAFC#EDECFD

Tones of #302DEB

#3D3BDE#4B49D0#5856C2#6463B6#7271A8#7F7E9A

Color harmonies

Complementary — #E8EB2D:

Analogous:

Triadic:

Contrast & accessibility

Against white text7.78:1 AAA
Against black text2.70:1 Fails

Best text color on #302DEB: #FFFFFF.

Semi-transparent (opacity) text on #302DEB

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

How #302DEB looks with color blindness

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

Protanopia · #2F2FBDDeuteranopia · #2F2FB2Tritanopia · #309991

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:

Tailwind indigo 600 · #4F46E5Tailwind blue 600 · #2563EBMaterial Indigo 500 · #3F51B5

Palettes with a similar color

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

Palette 2f2fe4
#2F2FE4 · #162E93 · #1A1953 · #080616
Velvet Mirage
#58D7EA · #175CC0 · #2F26E7 · #A85CF1
Smoky Monsoon
#152BC9 · #3534EA · #E1C817 · #F4F4C0
Amber Ruby Voyage
#13A1E9 · #252CE8 · #9625E2 · #C51B9F
Amber Tempest
#499AE1 · #2835E2 · #7D3DDF · #D241EA
Frozen Ruby Solace
#0D3820 · #FCF211 · #2B28F8 · #FB3D25

Similar colors

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

#2F2FE4#2F26E7#3534EA#252CE8#2835E2#2B28F8#402DEE#3E25E6#362FD9#1E33E7#3F39E7#2726DB

Browse neighbouring colors

← #302DEA  ·  #302DEC →

Frequently asked questions

What color is #302DEB?

#302DEB is Vivid Blue, a blue color (RGB 48, 45, 235). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #302DEB?

#302DEB is RGB 48, 45, 235 — HSL 241°, 83%, 55% — CMYK 80%, 81%, 0%, 8%.

What colors go with #302DEB?

Its complement is #E8EB2D; analogous partners are #2D89EB and #8F2DEB. It also appears in 6+ palettes in our collection.

Can I use #302DEB for text?

White text on #302DEB has a contrast ratio of 7.78:1 (passes WCAG AA); black text gives 2.70:1.