#0F42F0
A medium, vivid blue closely aligning with Mediumblue.
About #0F42F0
At its core, #0F42F0 is a medium and vivid hue. Its closest recognized web color is Mediumblue. To achieve this exact tint on a monitor, you would use an RGB mix of 15, 66, and 240.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 94% Cyan, 72% Magenta, 0% Yellow, and 6% Black. With a hue angle of 226.4 degrees, it sits comfortably in the blue spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#0F42F0
RGB15, 66, 240
HSL226.4°, 88.2%, 50.0%
CMYK94%, 72%, 0%, 6%
HSV226.4°, 93.8%, 94.1%
LAB38.4, 52.2, -89.3
XYZ17.9, 10.3, 83.5
Decimal1000176
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.87:1
Text on #FFFFFF
AA
3.06:1
Text on #000000
AA Large
6.56:1
Text on #F8FAFC
AA
2.60:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F42F0;
}
.text-color {
color: #0F42F0;
}
.border-color {
border: 2px solid #0F42F0;
}