Maroon Colors  ·  Color Library

Palettes / Colors / #152CB2

#152CB2 — Vivid Blue

#152CB2 is a blue color we call Vivid Blue, closest to the named color DarkBlue (#00008B). It belongs to the blue family.

Color name

Closest CSS keyword: darkblue (#00008B) — not an exact match. CSS darkblue gives you #00008B, a different color; use #152CB2 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.

#152CB2 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 #B29A15; it also sits naturally between #157BB2 and #4C15B2. In the palettes below you can see it working alongside real color combinations from our collection.

#152CB2 · RGB 21, 44, 178

Download PNG swatch SVG

Color values

HEX#152CB2
RGB21, 44, 178
HSL231°, 79%, 39%
HSV231°, 88%, 70%
CMYK88%, 75%, 0%, 30%
XYZ9.25, 5.18, 42.63
Yxy5.18, 0.1621, 0.0907
CIE-Lab27.23, 43.63, -71.78
Hunter Lab22.75, 34.49, -100.13

RGB & CMYK percentages

Red 8% · Green 17% · Blue 70%

Cyan 88% · Magenta 75% · Yellow 0% · Key 30%

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

Previews

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

CSS code for #152CB2

.text { color: #152CB2; }
.background { background-color: #152CB2; }
.border { border: 3px solid #152CB2; }
.text-rgb { color: rgb(21, 44, 178); }
.text-hsl { color: hsl(231, 79%, 39%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #152CB2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(21, 44, 178, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #152CB2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(21, 44, 178, 0.8); }

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

Shades of #152CB2

#1329A4#112492#102184#0D1C72#0C1964#0A1552#081144#060D32#040925#020512

Tints of #152CB2

#1833CD#1B39E4#3651E7#5269EB#6D80EE#8494F1#9FACF4#BBC4F7#D1D7FA#EDEFFD

Tones of #152CB2

#2034A7#2C3C9B#374490#424C85#4D537A#595C6E

Color harmonies

Complementary — #B29A15:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.32:1 AAA
Against black text2.04:1 Fails

Best text color on #152CB2: #FFFFFF.

Semi-transparent (opacity) text on #152CB2

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 #152CB2: ·

How #152CB2 looks with color blindness

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

Protanopia · #1F1F92Deuteranopia · #1E1C8ATritanopia · #167872

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

Palettes with a similar color

These palettes use a close neighbour of #152CB2 rather than the exact color:

Dreamy Petal
#1A2EAF · #7468E8 · #CCB51E · #EFECB4
Palette 1230ae
#1230AE · #6C48C5 · #C68FE6 · #FFF7F7
Silent Aurora
#0F25B4 · #733ADD · #C424E6 · #E958BE
Gentle Mirage
#BCC0F0 · #212AB5 · #19229E · #151961
Modern Horizon
#29A89B · #1B5B88 · #212CAD · #5E23AD
Misty Ruby Canyon
#2028BA · #DB2D36 · #2CCC24 · #A9A9E6

Similar colors

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

#1A2EAF#1230AE#0F25B4#212AB5#212CAD#2028BA#1A3AB4#1B38AB#1B27A5#1A2CA3#1B1DB2#1B2CC1

Browse neighbouring colors

← #152CB1  ·  #152CB3 →

Frequently asked questions

What color is #152CB2?

#152CB2 is Vivid Blue, a blue color (RGB 21, 44, 178). Its closest standard named color is DarkBlue.

What is the RGB and HSL of #152CB2?

#152CB2 is RGB 21, 44, 178 — HSL 231°, 79%, 39% — CMYK 88%, 75%, 0%, 30%.

What colors go with #152CB2?

Its complement is #B29A15; analogous partners are #157BB2 and #4C15B2. It also appears in 6+ palettes in our collection.

Can I use #152CB2 for text?

White text on #152CB2 has a contrast ratio of 10.32:1 (passes WCAG AA); black text gives 2.04:1.