#2C247C
A dark, moderate blue closely aligning with Midnightblue.
About #2C247C
At its core, #2C247C is a dark and moderate hue. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(44, 36, 124).
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 65% Cyan, 71% Magenta, 0% Yellow, and 51% Black. The HSL representation is 245.5° hue, 55.0% saturation, and 31.4% lightness.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#2C247C
RGB44, 36, 124
HSL245.5°, 55.0%, 31.4%
CMYK65%, 71%, 0%, 51%
HSV245.5°, 71.0%, 48.6%
LAB21.0, 31.5, -48.7
XYZ5.3, 3.3, 19.4
Decimal2892924
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.16:1
Text on #F8FAFC
AAA
1.40:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C247C;
}
.text-color {
color: #2C247C;
}
.border-color {
border: 2px solid #2C247C;
}