Maroon Colors  ·  Color Library

Palettes / Colors / #20249A

#20249A — Blue

#20249A is a blue color we call Blue, closest to the named color MidnightBlue (#191970). It belongs to the blue family.

Color name

Closest CSS keyword: midnightblue (#191970) — not an exact match. CSS midnightblue gives you #191970, a different color; use #20249A 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.

#20249A 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 #98941F; it also sits naturally between #1F6098 and #581F98. In the palettes below you can see it working alongside real color combinations from our collection.

#20249A · RGB 32, 36, 154

Download PNG swatch SVG

Color values

HEX#20249A
RGB32, 36, 154
HSL238°, 66%, 36%
HSV238°, 79%, 60%
CMYK79%, 77%, 0%, 40%
XYZ7.06, 3.90, 30.95
Yxy3.90, 0.1684, 0.0931
CIE-Lab23.34, 40.58, -63.67
Hunter Lab19.75, 30.76, -83.24

RGB & CMYK percentages

Red 13% · Green 14% · Blue 60%

Cyan 79% · Magenta 77% · Yellow 0% · Key 40%

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

Previews

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

CSS code for #20249A

.text { color: #20249A; }
.background { background-color: #20249A; }
.border { border: 3px solid #20249A; }
.text-rgb { color: rgb(32, 36, 154); }
.text-hsl { color: hsl(238, 66%, 36%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #20249A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(32, 36, 154, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #20249A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(32, 36, 154, 0.8); }

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

Shades of #20249A

#1D208C#1A1D7F#17196E#141761#111455#0F1148#0C0E3B#090A2A#06071E#030411

Tints of #20249A

#2429B2#2A2FCB#3C41D7#565ADC#6F73E2#888CE7#A2A4EC#BBBDF1#D5D6F6#EEEFFC

Tones of #20249A

#272B90#313487#393B7F#424476#4A4C6D#545464

Color harmonies

Complementary — #98941F:

Analogous:

Triadic:

Contrast & accessibility

Against white text11.80:1 AAA
Against black text1.78:1 Fails

Best text color on #20249A: #FFFFFF.

Semi-transparent (opacity) text on #20249A

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 #20249A: ·

How #20249A looks with color blindness

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

Protanopia · #22227DDeuteranopia · #222177Tritanopia · #206762

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 slate 600 · #475569Material Deep Purple 500 · #673AB7

Palettes with a similar color

These palettes use a close neighbour of #20249A rather than the exact color:

Mellow Ruby Harbor
#272297 · #5C2796 · #942E9D · #A72F7C
Frozen Ruby Saffron
#B2B1F1 · #5553E4 · #2321A1 · #17166A
Gentle Mirage
#BCC0F0 · #212AB5 · #19229E · #151961
Hidden Lagoon
#1EAD9C · #2173A8 · #192592 · #8345DF
Gentle Ruby Twilight
#30AC44 · #18735C · #185573 · #1A2491
Burning Cinder
#1E2F9F · #DD4F62 · #3DCB27 · #B5B5E8

Similar colors

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

#272297#2321A1#19229E#192592#1A2491#1E2F9F#2529A4#1B27A5#1A2CA3#162E93#1D1F8B#132D93

Browse neighbouring colors

← #202499  ·  #20249B →

Frequently asked questions

What color is #20249A?

#20249A is Blue, a blue color (RGB 32, 36, 154). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #20249A?

#20249A is RGB 32, 36, 154 — HSL 238°, 66%, 36% — CMYK 79%, 77%, 0%, 40%.

What colors go with #20249A?

Its complement is #98941F; analogous partners are #1F6098 and #581F98. It also appears in 6+ palettes in our collection.

Can I use #20249A for text?

White text on #20249A has a contrast ratio of 11.80:1 (passes WCAG AA); black text gives 1.78:1.