Maroon Colors  ·  Color Library

Palettes / Colors / #281D4E

#281D4E — Deep Muted Blue

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

#281D4E 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 #444E1D; it also sits naturally between #1D2B4E and #401D4E. In the palettes below you can see it working alongside real color combinations from our collection.

#281D4E · RGB 40, 29, 78

Download PNG swatch SVG

Color values

HEX#281D4E
RGB40, 29, 78
HSL253°, 46%, 21%
HSV253°, 63%, 31%
CMYK49%, 63%, 0%, 69%
XYZ2.69, 1.88, 7.43
Yxy1.88, 0.2242, 0.1567
CIE-Lab14.84, 19.42, -28.54
Hunter Lab13.71, 11.94, -24.17

RGB & CMYK percentages

Red 16% · Green 11% · Blue 31%

Cyan 49% · Magenta 63% · Yellow 0% · Key 69%

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

Previews

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

CSS code for #281D4E

.text { color: #281D4E; }
.background { background-color: #281D4E; }
.border { border: 3px solid #281D4E; }
.text-rgb { color: rgb(40, 29, 78); }
.text-hsl { color: hsl(253, 46%, 21%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #281D4E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(40, 29, 78, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #281D4E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(40, 29, 78, 0.8); }

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

Shades of #281D4E

#241A47#221943#1E163C#1A1334#191230#150F29#110C22#0D0A1A#0B0816#08060F

Tints of #281D4E

#37286C#443286#533DA4#6149BC#7B66C7#9280D0#AB9EDB#C2B8E5#DCD6F0#F2F0F9

Tones of #281D4E

#2A214A#2C2447#2E2843#2F2B40#322F3D#333239

Color harmonies

Complementary — #444E1D:

Analogous:

Triadic:

Contrast & accessibility

Against white text15.26:1 AAA
Against black text1.38:1 Fails

Best text color on #281D4E: #FFFFFF.

Semi-transparent (opacity) text on #281D4E

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

How #281D4E looks with color blindness

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

Protanopia · #232342Deuteranopia · #24253FTritanopia · #273937

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 zinc 600 · #52525B

Palettes with a similar color

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

Burning Drift
#207862 · #13313C · #2C3F98 · #29154F
Palette Fffbeb
#FFFBEB · #495579 · #263159 · #251749
Palette 211951
#211951 · #836FFF · #15F5BA · #F0F3FF
Gentle Dusk
#BCAADF · #7E5CBC · #5E3AA2 · #311F51
Crystal Twilight
#CFD0EC · #4547A1 · #353892 · #232552
Amber Mirage
#4A792A · #153622 · #355C63 · #1E214E

Similar colors

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

#29154F#251749#211951#311F51#232552#1E214E#262456#281C59#2D1351#211B57#321E48#272343

Browse neighbouring colors

← #281D4D  ·  #281D4F →

Frequently asked questions

What color is #281D4E?

#281D4E is Deep Muted Blue, a blue color (RGB 40, 29, 78). Its closest standard named color is MidnightBlue.

What is the RGB and HSL of #281D4E?

#281D4E is RGB 40, 29, 78 — HSL 253°, 46%, 21% — CMYK 49%, 63%, 0%, 69%.

What colors go with #281D4E?

Its complement is #444E1D; analogous partners are #1D2B4E and #401D4E. It also appears in 6+ palettes in our collection.

Can I use #281D4E for text?

White text on #281D4E has a contrast ratio of 15.26:1 (passes WCAG AA); black text gives 1.38:1.