#0F42AF

A dark, vivid blue closely aligning with Slateblue.

About #0F42AF

The precise color #0F42AF is an excellent choice for modern design projects. It is closely associated with the named CSS color Slateblue. This translates to an RGB value of rgb(15, 66, 175).

For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 91% cyan and 62% magenta inks. With a hue angle of 220.9 degrees, it sits comfortably in the blue spectrum.

From a UX and accessibility standpoint, contrast is paramount. 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#0F42AF
RGB15, 66, 175
HSL220.9°, 84.2%, 37.3%
CMYK91%, 62%, 0%, 31%
HSV220.9°, 91.4%, 68.6%
LAB32.0, 28.1, -62.1
XYZ9.9, 7.1, 41.4
Decimal1000111

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

8.68:1
Text on #FFFFFF
AAA
2.42:1
Text on #000000
FAIL
8.30:1
Text on #F8FAFC
AAA
2.06:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Slateblue
#6A5ACD