#0F42CC

A medium, vivid blue closely aligning with Mediumslateblue.

About #0F42CC

At its core, #0F42CC is a medium and vivid hue. If you're using CSS, you might find it aligns closely with Mediumslateblue. Its digital footprint relies on 15 parts red, 66 parts green, and 204 parts blue light.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 93% cyan and 68% magenta inks. The HSL representation is 223.8° hue, 86.3% saturation, and 42.9% lightness.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#0F42CC
RGB15, 66, 204
HSL223.8°, 86.3%, 42.9%
CMYK93%, 68%, 0%, 20%
HSV223.8°, 92.6%, 80.0%
LAB34.7, 39.3, -74.7
XYZ13.0, 8.4, 58.1
Decimal1000140

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.86:1
Text on #FFFFFF
AAA
2.67:1
Text on #000000
FAIL
7.51:1
Text on #F8FAFC
AAA
2.27:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #0F42CC; }
.text-color { color: #0F42CC; }
.border-color { border: 2px solid #0F42CC; }

Similar Colors

Mediumslateblue
#7B68EE