#2C42B6

A medium, moderate blue closely aligning with Slateblue.

About #2C42B6

The precise color #2C42B6 is an excellent choice for modern design projects. Its closest recognized web color is Slateblue. This translates to an RGB value of rgb(44, 66, 182).

Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 76% cyan and 64% magenta inks. The HSL representation is 230.4° hue, 61.1% saturation, and 44.3% lightness.

Contrast ratios determine whether this color is safe for typography. 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#2C42B6
RGB44, 66, 182
HSL230.4°, 61.1%, 44.3%
CMYK76%, 64%, 0%, 29%
HSV230.4°, 75.8%, 71.4%
LAB33.6, 33.1, -63.7
XYZ11.4, 7.8, 45.2
Decimal2900662

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.20:1
Text on #FFFFFF
AAA
2.56:1
Text on #000000
FAIL
7.83:1
Text on #F8FAFC
AAA
2.18:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Slateblue
#6A5ACD