#1D2C7C

A dark, moderate blue closely aligning with Midnightblue.

About #1D2C7C

At its core, #1D2C7C is a dark and moderate hue. Its closest recognized web color is Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 29, 44, and 124.

Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 77% cyan, 65% magenta, 0% yellow, and 51% black. This makes it a relatively dark color when applied to physical surfaces.

From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#1D2C7C
RGB29, 44, 124
HSL230.5°, 62.1%, 30.0%
CMYK77%, 65%, 0%, 51%
HSV230.5°, 76.6%, 48.6%
LAB22.0, 24.1, -47.2
XYZ5.0, 3.5, 19.5
Decimal1911932

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.33:1
Text on #FFFFFF
AAA
1.70:1
Text on #000000
FAIL
11.78:1
Text on #F8FAFC
AAA
1.45:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970