#0F0F57
A dark, vivid blue closely aligning with Midnightblue.
About #0F0F57
The precise color #0F0F57 is an excellent choice for modern design projects. Its closest recognized web color is Midnightblue. This translates to an RGB value of rgb(15, 15, 87).
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 83% cyan and 83% magenta inks. Always request a physical proof before doing a large print run with this exact code.
When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#0F0F57
RGB15, 15, 87
HSL240.0°, 70.6%, 20.0%
CMYK83%, 83%, 0%, 66%
HSV240.0°, 82.8%, 34.1%
LAB10.0, 27.8, -42.6
XYZ2.1, 1.1, 9.1
Decimal986967
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
17.13:1
Text on #FFFFFF
AAA
1.23:1
Text on #000000
FAIL
16.37:1
Text on #F8FAFC
AAA
1.04:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F0F57;
}
.text-color {
color: #0F0F57;
}
.border-color {
border: 2px solid #0F0F57;
}