#0742E2
A medium, vivid blue closely aligning with Mediumblue.
About #0742E2
Visually, #0742E2 is defined as a vivid blue. Its closest recognized web color is Mediumblue. To achieve this exact tint on a monitor, you would use an RGB mix of 7, 66, and 226.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 97% cyan and 71% magenta inks. With a hue angle of 223.8 degrees, it sits comfortably in the blue spectrum.
Contrast ratios determine whether this color is safe for typography. 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#0742E2
RGB7, 66, 226
HSL223.8°, 94.0%, 45.7%
CMYK97%, 71%, 0%, 11%
HSV223.8°, 96.9%, 88.6%
LAB36.8, 47.1, -84.0
XYZ15.8, 9.4, 72.9
Decimal475874
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.28:1
Text on #FFFFFF
AAA
2.89:1
Text on #000000
FAIL
6.95:1
Text on #F8FAFC
AA
2.45:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0742E2;
}
.text-color {
color: #0742E2;
}
.border-color {
border: 2px solid #0742E2;
}