#4242A0
A medium, moderate blue closely aligning with Darkslateblue.
About #4242A0
The hex code #4242A0 represents a beautifully specific shade of blue. Its closest recognized web color is Darkslateblue. In the RGB color space, it consists of 66 red, 66 green, and 160 blue.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 59% cyan and 59% magenta inks. Always request a physical proof before doing a large print run with this exact code.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#4242A0
RGB66, 66, 160
HSL240.0°, 41.6%, 44.3%
CMYK59%, 59%, 0%, 37%
HSV240.0°, 58.7%, 62.7%
LAB33.1, 28.5, -51.2
XYZ10.5, 7.6, 34.2
Decimal4342432
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.34:1
Text on #FFFFFF
AAA
2.52:1
Text on #000000
FAIL
7.97:1
Text on #F8FAFC
AAA
2.14:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #4242A0;
}
.text-color {
color: #4242A0;
}
.border-color {
border: 2px solid #4242A0;
}