#0F42C5
A medium, vivid blue closely aligning with Slateblue.
About #0F42C5
When working with digital screens, the color #0F42C5 is rendered by mixing light. If you're using CSS, you might find it aligns closely with Slateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 15, 66, and 197.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 92% Cyan, 66% Magenta, 0% Yellow, and 23% Black. Always request a physical proof before doing a large print run with this exact code.
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#0F42C5
RGB15, 66, 197
HSL223.2°, 85.8%, 41.6%
CMYK92%, 66%, 0%, 23%
HSV223.2°, 92.4%, 77.3%
LAB34.0, 36.7, -71.8
XYZ12.2, 8.0, 53.7
Decimal1000133
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.06:1
Text on #FFFFFF
AAA
2.61:1
Text on #000000
FAIL
7.70:1
Text on #F8FAFC
AAA
2.22:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F42C5;
}
.text-color {
color: #0F42C5;
}
.border-color {
border: 2px solid #0F42C5;
}