#0F1D57
A dark, vivid blue closely aligning with Midnightblue.
About #0F1D57
At its core, #0F1D57 is a dark and vivid hue. If you're using CSS, you might find it aligns closely with Midnightblue. In the RGB color space, it consists of 15 red, 29 green, and 87 blue.
When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 83% cyan, 67% magenta, 0% yellow, and 66% black. This makes it a relatively dark color when applied to physical surfaces.
When using this color as a background, text legibility must be considered. 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#0F1D57
RGB15, 29, 87
HSL228.3°, 70.6%, 20.0%
CMYK83%, 67%, 0%, 66%
HSV228.3°, 82.8%, 34.1%
LAB13.6, 18.0, -36.7
XYZ2.4, 1.7, 9.2
Decimal990551
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
15.75:1
Text on #FFFFFF
AAA
1.33:1
Text on #000000
FAIL
15.05:1
Text on #F8FAFC
AAA
1.13:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F1D57;
}
.text-color {
color: #0F1D57;
}
.border-color {
border: 2px solid #0F1D57;
}