#002C7C
A dark, vivid blue closely aligning with Midnightblue.
About #002C7C
At its core, #002C7C is a dark and vivid hue. It is closely associated with the named CSS color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 0, 44, and 124.
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 100% C, 65% M, 0% Y, and 51% K. This makes it a relatively dark color when applied to physical surfaces.
From a UX and accessibility standpoint, contrast is paramount. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#002C7C
RGB0, 44, 124
HSL218.7°, 100.0%, 24.3%
CMYK100%, 65%, 0%, 51%
HSV218.7°, 100.0%, 48.6%
LAB21.0, 21.7, -48.8
XYZ4.5, 3.3, 19.5
Decimal11388
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
12.72:1
Text on #FFFFFF
AAA
1.65:1
Text on #000000
FAIL
12.15:1
Text on #F8FAFC
AAA
1.40:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #002C7C;
}
.text-color {
color: #002C7C;
}
.border-color {
border: 2px solid #002C7C;
}