#0F165F
A dark, vivid blue closely aligning with Midnightblue.
About #0F165F
At its core, #0F165F is a dark and vivid hue. It is closely associated with the named CSS color Midnightblue. In the RGB color space, it consists of 15 red, 22 green, and 95 blue.
If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 84% C, 77% M, 0% Y, and 63% K. With a hue angle of 234.8 degrees, it sits comfortably in the blue spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Because it is a dark color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#0F165F
RGB15, 22, 95
HSL234.8°, 72.7%, 21.6%
CMYK84%, 77%, 0%, 63%
HSV234.8°, 84.2%, 37.3%
LAB12.6, 26.3, -43.8
XYZ2.5, 1.5, 11.0
Decimal988767
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.15:1
Text on #FFFFFF
AAA
1.30:1
Text on #000000
FAIL
15.44:1
Text on #F8FAFC
AAA
1.11:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F165F;
}
.text-color {
color: #0F165F;
}
.border-color {
border: 2px solid #0F165F;
}