#1D1D5F

A dark, moderate blue closely aligning with Midnightblue.

About #1D1D5F

Visually, #1D1D5F is defined as a moderate blue. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 29 red, 29 green, and 95 blue.

For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 69% C, 69% M, 0% Y, and 63% K. The HSL representation is 240.0° hue, 53.2% saturation, and 24.3% lightness.

Contrast ratios determine whether this color is safe for typography. 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#1D1D5F
RGB29, 29, 95
HSL240.0°, 53.2%, 24.3%
CMYK69%, 69%, 0%, 63%
HSV240.0°, 69.5%, 37.3%
LAB15.3, 23.3, -39.3
XYZ3.0, 2.0, 11.0
Decimal1908063

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

15.07:1
Text on #FFFFFF
AAA
1.39:1
Text on #000000
FAIL
14.41:1
Text on #F8FAFC
AAA
1.18:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970