Maroon Colors  ·  Color Library

Palettes / Colors / #140D4E

#140D4E — Deep Blue

#140D4E 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 #140D4E 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.

#140D4E 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 #484E0D; it also sits naturally between #0D274E and #340D4E. In the palettes below you can see it working alongside real color combinations from our collection.

#140D4E · RGB 20, 13, 78

Download PNG swatch SVG

Color values

HEX#140D4E
RGB20, 13, 78
HSL246°, 71%, 18%
HSV246°, 83%, 31%
CMYK74%, 83%, 0%, 69%
XYZ1.81, 0.99, 7.30
Yxy0.99, 0.1790, 0.0977
CIE-Lab8.88, 26.22, -38.36
Hunter Lab9.93, 15.88, -38.61

RGB & CMYK percentages

Red 8% · Green 5% · Blue 31%

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

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

Previews

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

CSS code for #140D4E

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

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

Shades of #140D4E

#130D4A#110B41#0F0A3D#0D0934#0C0830#0B072C#090623#08051F#060416#040311

Tints of #140D4E

#1D1371#251994#2D1EB3#3624D6#5343DF#7366E5#9389EB#AFA8F0#CFCBF6#EFEEFC

Tones of #140D4E

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

Color harmonies

Complementary — #484E0D:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #140D4E: #FFFFFF.

Semi-transparent (opacity) text on #140D4E

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

How #140D4E looks with color blindness

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

Protanopia · #11113EDeuteranopia · #11123ATritanopia · #14322F

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 #140D4E rather than the exact color:

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

Similar colors

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

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

Browse neighbouring colors

← #140D4D  ·  #140D4F →

Frequently asked questions

What color is #140D4E?

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

What is the RGB and HSL of #140D4E?

#140D4E is RGB 20, 13, 78 — HSL 246°, 71%, 18% — CMYK 74%, 83%, 0%, 69%.

What colors go with #140D4E?

Its complement is #484E0D; analogous partners are #0D274E and #340D4E. It also appears in 6+ palettes in our collection.

Can I use #140D4E for text?

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