#072C8A
A dark, vivid blue closely aligning with Midnightblue.
About #072C8A
The hex code #072C8A represents a beautifully specific shade of blue. If you're using CSS, you might find it aligns closely with Midnightblue. This translates to an RGB value of rgb(7, 44, 138).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 95% C, 68% M, 0% Y, and 46% K. The HSL representation is 223.1° hue, 90.3% saturation, and 28.4% lightness.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#072C8A
RGB7, 44, 138
HSL223.1°, 90.3%, 28.4%
CMYK95%, 68%, 0%, 46%
HSV223.1°, 94.9%, 54.1%
LAB22.6, 27.9, -55.0
XYZ5.6, 3.7, 24.5
Decimal470154
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
12.09:1
Text on #FFFFFF
AAA
1.74:1
Text on #000000
FAIL
11.56:1
Text on #F8FAFC
AAA
1.48:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #072C8A;
}
.text-color {
color: #072C8A;
}
.border-color {
border: 2px solid #072C8A;
}