#0F42A8
A dark, vivid blue closely aligning with Darkslateblue.
About #0F42A8
The precise color #0F42A8 is an excellent choice for modern design projects. Its closest recognized web color is Darkslateblue. Its digital footprint relies on 15 parts red, 66 parts green, and 168 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 91% cyan, 61% magenta, 0% yellow, and 34% black. Always request a physical proof before doing a large print run with this exact code.
Ensuring your text is legible against this background is a key part of web design. Because it is a dark color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#0F42A8
RGB15, 66, 168
HSL220.0°, 83.6%, 35.9%
CMYK91%, 61%, 0%, 34%
HSV220.0°, 91.1%, 65.9%
LAB31.4, 25.3, -58.9
XYZ9.2, 6.8, 37.9
Decimal1000104
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.88:1
Text on #FFFFFF
AAA
2.37:1
Text on #000000
FAIL
8.49:1
Text on #F8FAFC
AAA
2.01:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F42A8;
}
.text-color {
color: #0F42A8;
}
.border-color {
border: 2px solid #0F42A8;
}