#1D42C5

A medium, vivid blue closely aligning with Slateblue.

About #1D42C5

The precise color #1D42C5 is an excellent choice for modern design projects. It is closely associated with the named CSS color Slateblue. In the RGB color space, it consists of 29 red, 66 green, and 197 blue.

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

When using this color as a background, text legibility must be considered. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#1D42C5
RGB29, 66, 197
HSL226.8°, 74.3%, 44.3%
CMYK85%, 66%, 0%, 23%
HSV226.8°, 85.3%, 77.3%
LAB34.4, 37.4, -71.2
XYZ12.5, 8.2, 53.7
Decimal1917637

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.96:1
Text on #FFFFFF
AAA
2.64:1
Text on #000000
FAIL
7.61:1
Text on #F8FAFC
AAA
2.24:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Slateblue
#6A5ACD