#3A42A8
A medium, moderate blue closely aligning with Slateblue.
About #3A42A8
The precise color #3A42A8 is an excellent choice for modern design projects. Designers often compare it to the standard color Slateblue. In the RGB color space, it consists of 58 red, 66 green, and 168 blue.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 65% cyan and 61% magenta inks. With a hue angle of 235.6 degrees, it sits comfortably in the blue spectrum.
Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#3A42A8
RGB58, 66, 168
HSL235.6°, 48.7%, 44.3%
CMYK65%, 61%, 0%, 34%
HSV235.6°, 65.5%, 65.9%
LAB33.2, 29.9, -55.9
XYZ10.8, 7.6, 38.0
Decimal3818152
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.32:1
Text on #FFFFFF
AAA
2.52:1
Text on #000000
FAIL
7.95:1
Text on #F8FAFC
AAA
2.15:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A42A8;
}
.text-color {
color: #3A42A8;
}
.border-color {
border: 2px solid #3A42A8;
}