#0F42DB

A medium, vivid blue closely aligning with Mediumslateblue.

About #0F42DB

Visually, #0F42DB is defined as a vivid blue. Designers often compare it to the standard color Mediumslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 15, 66, and 219.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 93% cyan, 70% magenta, 0% yellow, and 14% black. The HSL representation is 225.0° hue, 87.2% saturation, and 45.9% lightness.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#0F42DB
RGB15, 66, 219
HSL225.0°, 87.2%, 45.9%
CMYK93%, 70%, 0%, 14%
HSV225.0°, 93.2%, 85.9%
LAB36.2, 44.8, -80.9
XYZ14.9, 9.1, 68.0
Decimal1000155

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.44:1
Text on #FFFFFF
AAA
2.82:1
Text on #000000
FAIL
7.11:1
Text on #F8FAFC
AAA
2.40:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumslateblue
#7B68EE