#2C2457
A dark, moderate blue closely aligning with Darkslateblue.
About #2C2457
At its core, #2C2457 is a dark and moderate hue. It is closely associated with the named CSS color Darkslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 44, 36, and 87.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 49% Cyan, 59% Magenta, 0% Yellow, and 66% Black. The HSL representation is 249.4° hue, 41.5% saturation, and 24.1% lightness.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#2C2457
RGB44, 36, 87
HSL249.4°, 41.5%, 24.1%
CMYK49%, 59%, 0%, 66%
HSV249.4°, 58.6%, 34.1%
LAB17.9, 18.7, -29.8
XYZ3.4, 2.5, 9.3
Decimal2892887
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.03:1
Text on #FFFFFF
AAA
1.50:1
Text on #000000
FAIL
13.41:1
Text on #F8FAFC
AAA
1.27:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C2457;
}
.text-color {
color: #2C2457;
}
.border-color {
border: 2px solid #2C2457;
}