Maroon Colors  ·  Color Library

Palettes / Colors / #252DB8

#252DB8 — Blue

#252DB8 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 #252DB8 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.

#252DB8 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 #B7B024; it also sits naturally between #2475B7 and #6624B7. In the palettes below you can see it working alongside real color combinations from our collection.

#252DB8 · RGB 37, 45, 184

Download PNG swatch SVG

Color values

HEX#252DB8
RGB37, 45, 184
HSL237°, 67%, 43%
HSV237°, 80%, 72%
CMYK80%, 76%, 0%, 28%
XYZ10.35, 5.73, 45.91
Yxy5.73, 0.1670, 0.0924
CIE-Lab28.72, 46.02, -72.86
Hunter Lab23.94, 37.16, -102.02

RGB & CMYK percentages

Red 15% · Green 18% · Blue 72%

Cyan 80% · Magenta 76% · Yellow 0% · Key 28%

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

Previews

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

CSS code for #252DB8

.text { color: #252DB8; }
.background { background-color: #252DB8; }
.border { border: 3px solid #252DB8; }
.text-rgb { color: rgb(37, 45, 184); }
.text-hsl { color: hsl(237, 67%, 43%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #252DB8; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(37, 45, 184, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #252DB8; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(37, 45, 184, 0.8); }

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

Shades of #252DB8

#2127A6#1D2395#1A1F84#171B73#141866#111455#0D1044#0A0C33#070822#030411

Tints of #252DB8

#2831CC#3B43D8#5057DC#666CE1#7F84E6#9599EA#AAADEE#BFC2F2#D9DAF7#EEEFFC

Tones of #252DB8

#2F35AC#393EA2#444897#4E518D#595B82#636479

Color harmonies

Complementary — #B7B024:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #252DB8: #FFFFFF.

Semi-transparent (opacity) text on #252DB8

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 #252DB8: ·

How #252DB8 looks with color blindness

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

Protanopia · #282996Deuteranopia · #28278ETritanopia · #257C76

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 #252DB8 rather than the exact color:

Radiant Ruby Mirage
#C5C6F1 · #7C7EE4 · #2A2CB6 · #1D1F8B
Gentle Mirage
#BCC0F0 · #212AB5 · #19229E · #151961
Vintage Ruby Aurora
#2828B5 · #531F8D · #D858DF · #D62B8E
Misty Ruby Canyon
#2028BA · #DB2D36 · #2CCC24 · #A9A9E6
Crystal Cinder
#23A971 · #4FC5CC · #316AAC · #2523B7
Modern Horizon
#29A89B · #1B5B88 · #212CAD · #5E23AD

Similar colors

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

#2A2CB6#212AB5#2828B5#2028BA#2523B7#212CAD#3031BE#1B2CC1#2F36B4#1A2EAF#1E39BC#2226C5

Browse neighbouring colors

← #252DB7  ·  #252DB9 →

Frequently asked questions

What color is #252DB8?

#252DB8 is Blue, a blue color (RGB 37, 45, 184). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #252DB8?

#252DB8 is RGB 37, 45, 184 — HSL 237°, 67%, 43% — CMYK 80%, 76%, 0%, 28%.

What colors go with #252DB8?

Its complement is #B7B024; analogous partners are #2475B7 and #6624B7. It also appears in 6+ palettes in our collection.

Can I use #252DB8 for text?

White text on #252DB8 has a contrast ratio of 9.78:1 (passes WCAG AA); black text gives 2.15:1.