#1D1666

A dark, moderate blue closely aligning with Midnightblue.

About #1D1666

Visually, #1D1666 is defined as a moderate blue. If you're using CSS, you might find it aligns closely with Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 29, 22, and 102.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 72% cyan, 78% magenta, 0% yellow, and 60% black. The HSL representation is 245.2° hue, 64.5% saturation, and 24.3% lightness.

Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#1D1666
RGB29, 22, 102
HSL245.2°, 64.5%, 24.3%
CMYK72%, 78%, 0%, 60%
HSV245.2°, 78.4%, 40.0%
LAB14.4, 30.4, -45.5
XYZ3.2, 1.8, 12.7
Decimal1906278

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.45:1
Text on #FFFFFF
AAA
1.36:1
Text on #000000
FAIL
14.77:1
Text on #F8FAFC
AAA
1.16:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970