#0F42D3
A medium, vivid blue closely aligning with Mediumslateblue.
About #0F42D3
At its core, #0F42D3 is a medium and vivid hue. It is closely associated with the named CSS color Mediumslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 15, 66, and 211.
If you are designing for print, the four-color process is what matters most. The color uses 93% Cyan, 69% Magenta, 0% Yellow, and 17% Black. This makes it a relatively light color when applied to physical surfaces.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#0F42D3
RGB15, 66, 211
HSL224.4°, 86.7%, 44.3%
CMYK93%, 69%, 0%, 17%
HSV224.4°, 92.9%, 82.7%
LAB35.4, 41.9, -77.7
XYZ13.9, 8.7, 62.6
Decimal1000147
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.66:1
Text on #FFFFFF
AAA
2.74:1
Text on #000000
FAIL
7.32:1
Text on #F8FAFC
AAA
2.33:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F42D3;
}
.text-color {
color: #0F42D3;
}
.border-color {
border: 2px solid #0F42D3;
}