#0F0F5F
A dark, vivid blue closely aligning with Midnightblue.
About #0F0F5F
The precise color #0F0F5F is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(15, 15, 95).
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 84% cyan and 84% magenta inks. 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. The calculated luminance score dictates that #FFFFFF typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#0F0F5F
RGB15, 15, 95
HSL240.0°, 72.7%, 21.6%
CMYK84%, 84%, 0%, 63%
HSV240.0°, 84.2%, 37.3%
LAB11.1, 30.7, -46.3
XYZ2.4, 1.3, 10.9
Decimal986975
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.75:1
Text on #FFFFFF
AAA
1.25:1
Text on #000000
FAIL
16.01:1
Text on #F8FAFC
AAA
1.07:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F0F5F;
}
.text-color {
color: #0F0F5F;
}
.border-color {
border: 2px solid #0F0F5F;
}