#0F0F66
A dark, vivid blue closely aligning with Midnightblue.
About #0F0F66
Visually, #0F0F66 is defined as a vivid blue. Its closest recognized web color is Midnightblue. Its digital footprint relies on 15 parts red, 15 parts green, and 102 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 85% cyan, 85% magenta, 0% yellow, and 60% black. The HSL representation is 240.0° hue, 74.4% saturation, and 22.9% lightness.
From a UX and accessibility standpoint, contrast is paramount. Because it is a dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#0F0F66
RGB15, 15, 102
HSL240.0°, 74.4%, 22.9%
CMYK85%, 85%, 0%, 60%
HSV240.0°, 85.3%, 40.0%
LAB12.0, 33.2, -49.5
XYZ2.8, 1.4, 12.7
Decimal986982
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
16.40:1
Text on #FFFFFF
AAA
1.28:1
Text on #000000
FAIL
15.67:1
Text on #F8FAFC
AAA
1.09:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F0F66;
}
.text-color {
color: #0F0F66;
}
.border-color {
border: 2px solid #0F0F66;
}