#1D248A

A dark, moderate blue closely aligning with Midnightblue.

About #1D248A

The hex code #1D248A represents a beautifully specific shade of blue. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(29, 36, 138).

If you are designing for print, the four-color process is what matters most. Its ink density profile breaks down to 79% cyan, 74% magenta, 0% yellow, and 46% black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#1D248A
RGB29, 36, 138
HSL236.1°, 65.3%, 32.7%
CMYK79%, 74%, 0%, 46%
HSV236.1°, 79.0%, 54.1%
LAB21.4, 34.7, -56.9
XYZ5.7, 3.4, 24.4
Decimal1909898

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.56:1
Text on #FFFFFF
AAA
1.67:1
Text on #000000
FAIL
12.01:1
Text on #F8FAFC
AAA
1.42:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #1D248A; }
.text-color { color: #1D248A; }
.border-color { border: 2px solid #1D248A; }

Similar Colors

Midnightblue
#191970