#1D42CC

A medium, vivid blue closely aligning with Mediumslateblue.

About #1D42CC

At its core, #1D42CC is a medium and vivid hue. Designers often compare it to the standard color Mediumslateblue. In the RGB color space, it consists of 29 red, 66 green, and 204 blue.

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 86% Cyan, 68% Magenta, 0% Yellow, and 20% Black. This makes it a relatively light color when applied to physical surfaces.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#1D42CC
RGB29, 66, 204
HSL227.3°, 75.1%, 45.7%
CMYK86%, 68%, 0%, 20%
HSV227.3°, 85.8%, 80.0%
LAB35.0, 39.9, -74.2
XYZ13.4, 8.5, 58.1
Decimal1917644

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.77:1
Text on #FFFFFF
AAA
2.70:1
Text on #000000
FAIL
7.42:1
Text on #F8FAFC
AAA
2.30:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE