#0F42A0
A dark, vivid blue closely aligning with Darkslateblue.
About #0F42A0
The hex code #0F42A0 represents a beautifully specific shade of blue. It is closely associated with the named CSS color Darkslateblue. Its digital footprint relies on 15 parts red, 66 parts green, and 160 parts blue light.
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 91% C, 59% M, 0% Y, and 37% K. Always request a physical proof before doing a large print run with this exact code.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#0F42A0
RGB15, 66, 160
HSL218.9°, 82.9%, 34.3%
CMYK91%, 59%, 0%, 37%
HSV218.9°, 90.6%, 62.7%
LAB30.7, 22.1, -55.2
XYZ8.5, 6.5, 34.1
Decimal1000096
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.10:1
Text on #FFFFFF
AAA
2.31:1
Text on #000000
FAIL
8.70:1
Text on #F8FAFC
AAA
1.96:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F42A0;
}
.text-color {
color: #0F42A0;
}
.border-color {
border: 2px solid #0F42A0;
}