#3A42AF

A medium, moderate blue closely aligning with Slateblue.

About #3A42AF

When working with digital screens, the color #3A42AF is rendered by mixing light. It is closely associated with the named CSS color Slateblue. Its digital footprint relies on 58 parts red, 66 parts green, and 175 parts blue light.

For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 67% cyan, 62% magenta, 0% yellow, and 31% black. The HSL representation is 235.9° hue, 50.2% saturation, and 45.7% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#3A42AF
RGB58, 66, 175
HSL235.9°, 50.2%, 45.7%
CMYK67%, 62%, 0%, 31%
HSV235.9°, 66.9%, 68.6%
LAB33.8, 32.3, -59.2
XYZ11.4, 7.9, 41.5
Decimal3818159

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.15:1
Text on #FFFFFF
AAA
2.58:1
Text on #000000
FAIL
7.78:1
Text on #F8FAFC
AAA
2.19:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Slateblue
#6A5ACD