#0042FF

A medium, vivid blue closely aligning with Mediumblue.

About #0042FF

When working with digital screens, the color #0042FF is rendered by mixing light. It is closely associated with the named CSS color Mediumblue. In the RGB color space, it consists of 0 red, 66 green, and 255 blue.

For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 100% cyan, 74% magenta, 0% yellow, and 0% black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#0042FF
RGB0, 66, 255
HSL224.5°, 100.0%, 50.0%
CMYK100%, 74%, 0%, 0%
HSV224.5°, 100.0%, 100.0%
LAB39.8, 57.0, -95.4
XYZ20.0, 11.1, 95.7
Decimal17151

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.52:1
Text on #FFFFFF
AA
3.22:1
Text on #000000
AA Large
6.23:1
Text on #F8FAFC
AA
2.74:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumblue
#0000CD