#1D2492

A dark, moderate blue closely aligning with Midnightblue.

About #1D2492

The precise color #1D2492 is an excellent choice for modern design projects. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 29 red, 36 green, and 146 blue.

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 80% Cyan, 75% Magenta, 0% Yellow, and 43% Black. With a hue angle of 236.4 degrees, it sits comfortably in the blue spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#1D2492
RGB29, 36, 146
HSL236.4°, 66.9%, 34.3%
CMYK80%, 75%, 0%, 43%
HSV236.4°, 80.1%, 57.3%
LAB22.3, 37.6, -60.5
XYZ6.3, 3.6, 27.6
Decimal1909906

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.21:1
Text on #FFFFFF
AAA
1.72:1
Text on #000000
FAIL
11.67:1
Text on #F8FAFC
AAA
1.46:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970