#0042F0

A medium, vivid blue closely aligning with Mediumblue.

About #0042F0

The precise color #0042F0 is an excellent choice for modern design projects. Its closest recognized web color is Mediumblue. This translates to an RGB value of rgb(0, 66, 240).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 100% C, 72% M, 0% Y, and 6% K. This makes it a relatively light color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. Because it is a medium color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#0042F0
RGB0, 66, 240
HSL223.5°, 100.0%, 47.1%
CMYK100%, 72%, 0%, 6%
HSV223.5°, 100.0%, 94.1%
LAB38.2, 51.9, -89.6
XYZ17.7, 10.2, 83.5
Decimal17136

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.91:1
Text on #FFFFFF
AA
3.04:1
Text on #000000
AA Large
6.61:1
Text on #F8FAFC
AA
2.58:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumblue
#0000CD