#1D1D7C

A dark, moderate blue closely aligning with Midnightblue.

About #1D1D7C

Visually, #1D1D7C is defined as a moderate blue. It is closely associated with the named CSS color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 29, 29, and 124.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 77% cyan and 77% magenta inks. This makes it a relatively dark color when applied to physical surfaces.

When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#1D1D7C
RGB29, 29, 124
HSL240.0°, 62.1%, 30.0%
CMYK77%, 77%, 0%, 51%
HSV240.0°, 76.6%, 48.6%
LAB18.3, 34.0, -53.2
XYZ4.6, 2.6, 19.3
Decimal1908092

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

13.82:1
Text on #FFFFFF
AAA
1.52:1
Text on #000000
FAIL
13.21:1
Text on #F8FAFC
AAA
1.29:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970