Maroon Colors  ·  Color Library

Palettes / Colors / #152FB2

#152FB2 — Vivid Blue

#152FB2 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 #152FB2 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.

#152FB2 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 #B29815; it also sits naturally between #157EB2 and #4915B2. In the palettes below you can see it working alongside real color combinations from our collection.

#152FB2 · RGB 21, 47, 178

Download PNG swatch SVG

Color values

HEX#152FB2
RGB21, 47, 178
HSL230°, 79%, 39%
HSV230°, 88%, 70%
CMYK88%, 74%, 0%, 30%
XYZ9.36, 5.41, 42.67
Yxy5.41, 0.1630, 0.0941
CIE-Lab27.86, 41.84, -70.73
Hunter Lab23.25, 32.93, -97.40

RGB & CMYK percentages

Red 8% · Green 18% · Blue 70%

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

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

Previews

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

CSS code for #152FB2

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

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

Shades of #152FB2

#132BA4#112792#102384#0D1E72#0C1B64#0A1652#081244#060D32#040A25#020512

Tints of #152FB2

#1836CD#1B3CE4#3654E7#526BEB#6D82EE#8496F1#9FADF4#BBC5F7#D1D8FA#EDEFFD

Tones of #152FB2

#2036A7#2C3E9B#374690#424D85#4D547A#595C6E

Color harmonies

Complementary — #B29815:

Analogous:

Triadic:

Contrast & accessibility

Against white text10.09:1 AAA
Against black text2.08:1 Fails

Best text color on #152FB2: #FFFFFF.

Semi-transparent (opacity) text on #152FB2

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

How #152FB2 looks with color blindness

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

Protanopia · #202092Deuteranopia · #1F1D8BTritanopia · #167974

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 #152FB2 rather than the exact color:

Palette 1230ae
#1230AE · #6C48C5 · #C68FE6 · #FFF7F7
Dreamy Petal
#1A2EAF · #7468E8 · #CCB51E · #EFECB4
Silent Aurora
#0F25B4 · #733ADD · #C424E6 · #E958BE
Honey Aurora
#16912A · #28D5A2 · #209FC9 · #1A3AB4
Royal Ruby Solace
#2A7EB1 · #1B38AB · #29176D · #471067
Modern Horizon
#29A89B · #1B5B88 · #212CAD · #5E23AD

Similar colors

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

#1230AE#1A2EAF#0F25B4#1A3AB4#1B38AB#212CAD#212AB5#1838A7#2028BA#1737A5#1C39BC#1A2CA3

Browse neighbouring colors

← #152FB1  ·  #152FB3 →

Frequently asked questions

What color is #152FB2?

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

What is the RGB and HSL of #152FB2?

#152FB2 is RGB 21, 47, 178 — HSL 230°, 79%, 39% — CMYK 88%, 74%, 0%, 30%.

What colors go with #152FB2?

Its complement is #B29815; analogous partners are #157EB2 and #4915B2. It also appears in 6+ palettes in our collection.

Can I use #152FB2 for text?

White text on #152FB2 has a contrast ratio of 10.09:1 (passes WCAG AA); black text gives 2.08:1.