#4942E2
A medium, vivid blue closely aligning with Blueviolet.
About #4942E2
Visually, #4942E2 is defined as a vivid blue. It is closely associated with the named CSS color Blueviolet. Its digital footprint relies on 73 parts red, 66 parts green, and 226 parts blue light.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 68% Cyan, 71% Magenta, 0% Yellow, and 11% Black. With a hue angle of 242.6 degrees, it sits comfortably in the blue spectrum.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#4942E2
RGB73, 66, 226
HSL242.6°, 73.4%, 57.3%
CMYK68%, 71%, 0%, 11%
HSV242.6°, 70.8%, 88.6%
LAB39.2, 51.2, -79.8
XYZ18.4, 10.8, 73.1
Decimal4801250
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.64:1
Text on #FFFFFF
AA
3.16:1
Text on #000000
AA Large
6.35:1
Text on #F8FAFC
AA
2.69:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #4942E2;
}
.text-color {
color: #4942E2;
}
.border-color {
border: 2px solid #4942E2;
}