#0F0742
A very dark, vivid blue closely aligning with Midnightblue.
About #0F0742
At its core, #0F0742 is a very dark and vivid hue. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(15, 7, 66).
If you are designing for print, the four-color process is what matters most. To reproduce this shade on paper, a printer utilizes 77% cyan and 89% magenta inks. The HSL representation is 248.1° hue, 80.8% saturation, and 14.3% lightness.
When using this color as a background, text legibility must be considered. 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#0F0742
RGB15, 7, 66
HSL248.1°, 80.8%, 14.3%
CMYK77%, 89%, 0%, 74%
HSV248.1°, 89.4%, 25.9%
LAB5.8, 24.1, -35.0
XYZ1.3, 0.6, 5.2
Decimal984898
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
18.59:1
Text on #FFFFFF
AAA
1.13:1
Text on #000000
FAIL
17.77:1
Text on #F8FAFC
AAA
1.04:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F0742;
}
.text-color {
color: #0F0742;
}
.border-color {
border: 2px solid #0F0742;
}