#1D42DB

A medium, vivid blue closely aligning with Mediumslateblue.

About #1D42DB

Visually, #1D42DB is defined as a vivid blue. If you're using CSS, you might find it aligns closely with Mediumslateblue. In the RGB color space, it consists of 29 red, 66 green, and 219 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 87% cyan, 70% magenta, 0% yellow, and 14% black. With a hue angle of 228.3 degrees, it sits comfortably in the blue spectrum.

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. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#1D42DB
RGB29, 66, 219
HSL228.3°, 76.6%, 48.6%
CMYK87%, 70%, 0%, 14%
HSV228.3°, 86.8%, 85.9%
LAB36.5, 45.3, -80.4
XYZ15.2, 9.3, 68.0
Decimal1917659

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.36:1
Text on #FFFFFF
AAA
2.85:1
Text on #000000
FAIL
7.03:1
Text on #F8FAFC
AAA
2.43:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE