#0042E2

A medium, vivid blue closely aligning with Mediumblue.

About #0042E2

The precise color #0042E2 is an excellent choice for modern design projects. Designers often compare it to the standard color Mediumblue. In the RGB color space, it consists of 0 red, 66 green, and 226 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 100% cyan, 71% magenta, 0% yellow, and 11% black. Always request a physical proof before doing a large print run with this exact code.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#0042E2
RGB0, 66, 226
HSL222.5°, 100.0%, 44.3%
CMYK100%, 71%, 0%, 11%
HSV222.5°, 100.0%, 88.6%
LAB36.7, 47.0, -84.1
XYZ15.7, 9.4, 72.9
Decimal17122

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.30:1
Text on #FFFFFF
AAA
2.88:1
Text on #000000
FAIL
6.98:1
Text on #F8FAFC
AA
2.45:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #0042E2; }
.text-color { color: #0042E2; }
.border-color { border: 2px solid #0042E2; }

Similar Colors

Mediumblue
#0000CD