Maroon Colors  ·  Color Library

Palettes / Colors / #1F144D

#1F144D — Deep Blue

#1F144D 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 #1F144D 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.

#1F144D 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 #424D14; it also sits naturally between #14254D and #3C144D. In the palettes below you can see it working alongside real color combinations from our collection.

#1F144D · RGB 31, 20, 77

Download PNG swatch SVG

Color values

HEX#1F144D
RGB31, 20, 77
HSL252°, 59%, 19%
HSV252°, 74%, 30%
CMYK60%, 74%, 0%, 70%
XYZ2.15, 1.33, 7.16
Yxy1.33, 0.2024, 0.1247
CIE-Lab11.47, 23.12, -33.39
Hunter Lab11.52, 14.06, -30.56

RGB & CMYK percentages

Red 12% · Green 8% · Blue 30%

Cyan 60% · Magenta 74% · Yellow 0% · Key 70%

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

Previews

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

CSS code for #1F144D

.text { color: #1F144D; }
.background { background-color: #1F144D; }
.border { border: 3px solid #1F144D; }
.text-rgb { color: rgb(31, 20, 77); }
.text-hsl { color: hsl(252, 59%, 19%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #1F144D; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(31, 20, 77, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #1F144D; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(31, 20, 77, 0.8); }

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

Shades of #1F144D

#1E1349#1A1141#19103D#150E35#140D31#100A29#0F0924#0C071C#0A0618#070410

Tints of #1F144D

#2C1C6D#38248A#452CAA#5234CB#6E55D3#8671DA#A292E3#BDB2EB#D6CEF2#F1EFFB

Tones of #1F144D

#221849#241C45#272041#29243D#2C2839#2E2D34

Color harmonies

Complementary — #424D14:

Analogous:

Triadic:

Contrast & accessibility

Against white text16.59:1 AAA
Against black text1.27:1 Fails

Best text color on #1F144D: #FFFFFF.

Semi-transparent (opacity) text on #1F144D

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 #1F144D: ·

How #1F144D looks with color blindness

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

Protanopia · #1A1A3FDeuteranopia · #1B1C3CTritanopia · #1E3432

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 neutral 600 · #525252Tailwind slate 600 · #475569

Palettes with a similar color

These palettes use a close neighbour of #1F144D rather than the exact color:

Palette 1e104e
#1E104E · #452E5A · #FF653F · #FFC85C
Palette 211951
#211951 · #836FFF · #15F5BA · #F0F3FF
Golden Ruby Twilight
#D7D2F4 · #AFA7E7 · #6C5BDC · #19114B
Burning Ruby Garden
#B099EB · #7853D5 · #4C21B5 · #200D4E
Palette Fffbeb
#FFFBEB · #495579 · #263159 · #251749
Palette 2f2fe4
#2F2FE4 · #162E93 · #1A1953 · #080616

Similar colors

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

#1E104E#211951#19114B#200D4E#251749#1A1953#230C51#29154F#1B1A55#171B4F#1C1D47#201658

Browse neighbouring colors

← #1F144C  ·  #1F144E →

Frequently asked questions

What color is #1F144D?

#1F144D is Deep Blue, a blue color (RGB 31, 20, 77). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #1F144D?

#1F144D is RGB 31, 20, 77 — HSL 252°, 59%, 19% — CMYK 60%, 74%, 0%, 70%.

What colors go with #1F144D?

Its complement is #424D14; analogous partners are #14254D and #3C144D. It also appears in 6+ palettes in our collection.

Can I use #1F144D for text?

White text on #1F144D has a contrast ratio of 16.59:1 (passes WCAG AA); black text gives 1.27:1.