Maroon Colors  ·  Color Library

Palettes / Colors / #150D4E

#150D4E — Deep Blue

#150D4E is a blue color we call Deep 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 #150D4E 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.

#150D4E is a cool blue color associated with trust, calm and professionalism. It is deep enough for text, outlines and dark interface surfaces, and makes light colors glow next to it.

Its strongest partner is its complement #474E0D; it also sits naturally between #0D264E and #360D4E. In the palettes below you can see it working alongside real color combinations from our collection.

#150D4E · RGB 21, 13, 78

Download PNG swatch SVG

Color values

HEX#150D4E
RGB21, 13, 78
HSL247°, 71%, 18%
HSV247°, 83%, 31%
CMYK73%, 83%, 0%, 69%
XYZ1.83, 1.00, 7.30
Yxy1.00, 0.1805, 0.0985
CIE-Lab8.97, 26.34, -38.21
Hunter Lab9.99, 15.99, -38.33

RGB & CMYK percentages

Red 8% · Green 5% · Blue 31%

Cyan 73% · Magenta 83% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #150D4E

.text { color: #150D4E; }
.background { background-color: #150D4E; }
.border { border: 3px solid #150D4E; }
.text-rgb { color: rgb(21, 13, 78); }
.text-hsl { color: hsl(247, 71%, 18%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #150D4E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(21, 13, 78, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #150D4E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(21, 13, 78, 0.8); }

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

Shades of #150D4E

#140D4A#110B41#100A3D#0E0934#0D0830#0C072C#090623#08051F#060416#050311

Tints of #150D4E

#1E1371#281994#301EB3#3924D6#5643DF#7566E5#9589EB#B0A8F0#D0CBF6#EFEEFC

Tones of #150D4E

#18124A#1C1645#1F1B41#23203C#272537#2A2932

Color harmonies

Complementary — #474E0D:

Analogous:

Triadic:

Contrast & accessibility

Against white text17.51:1 AAA
Against black text1.20:1 Fails

Best text color on #150D4E: #FFFFFF.

Semi-transparent (opacity) text on #150D4E

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 #150D4E: ·

How #150D4E looks with color blindness

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

Protanopia · #12113EDeuteranopia · #12133ATritanopia · #15322F

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:

Bootstrap dark · #212529Tailwind slate 600 · #475569Tailwind neutral 600 · #525252

Palettes with a similar color

These palettes use a close neighbour of #150D4E rather than the exact color:

Golden Ruby Twilight
#D7D2F4 · #AFA7E7 · #6C5BDC · #19114B
Palette 7b113a
#7B113A · #150E56 · #1597BB · #8FD6E1
Scarlet Cinder
#908EE6 · #4F4BD8 · #2E2AC5 · #121155
Palette 1e104e
#1E104E · #452E5A · #FF653F · #FFC85C
Silent Ruby Horizon
#193A5F · #110F45 · #201629 · #61285F
Palette 0c134f
#0C134F · #1D267D · #5C469C · #D4ADFC

Similar colors

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

#19114B#150E56#121155#1E104E#110F45#0C134F#200D4E#0F044C#121358#0E0F44#150050#1A1953

Browse neighbouring colors

← #150D4D  ·  #150D4F →

Frequently asked questions

What color is #150D4E?

#150D4E is Deep Blue, a blue color (RGB 21, 13, 78). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #150D4E?

#150D4E is RGB 21, 13, 78 — HSL 247°, 71%, 18% — CMYK 73%, 83%, 0%, 69%.

What colors go with #150D4E?

Its complement is #474E0D; analogous partners are #0D264E and #360D4E. It also appears in 6+ palettes in our collection.

Can I use #150D4E for text?

White text on #150D4E has a contrast ratio of 17.51:1 (passes WCAG AA); black text gives 1.20:1.