#0F1D6D
A dark, vivid blue closely aligning with Midnightblue.
About #0F1D6D
At its core, #0F1D6D is a dark and vivid hue. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(15, 29, 109).
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 86% cyan and 73% magenta inks. The HSL representation is 231.1° hue, 75.8% saturation, and 24.3% lightness.
When using this color as a background, text legibility must be considered. Because it is a dark color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#0F1D6D
RGB15, 29, 109
HSL231.1°, 75.8%, 24.3%
CMYK86%, 73%, 0%, 57%
HSV231.1°, 86.2%, 42.7%
LAB15.9, 27.1, -47.5
XYZ3.4, 2.1, 14.7
Decimal990573
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.82:1
Text on #FFFFFF
AAA
1.42:1
Text on #000000
FAIL
14.17:1
Text on #F8FAFC
AAA
1.20:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #0F1D6D;
}
.text-color {
color: #0F1D6D;
}
.border-color {
border: 2px solid #0F1D6D;
}