#2C2C5F
A dark, moderate blue closely aligning with Darkslateblue.
About #2C2C5F
Visually, #2C2C5F is defined as a moderate blue. It is closely associated with the named CSS color Darkslateblue. In the RGB color space, it consists of 44 red, 44 green, and 95 blue.
Translating this color to physical media requires the CMYK color model. The color uses 54% Cyan, 54% Magenta, 0% Yellow, and 63% Black. This makes it a relatively dark color when applied to physical surfaces.
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. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#2C2C5F
RGB44, 44, 95
HSL240.0°, 36.7%, 27.3%
CMYK54%, 54%, 0%, 63%
HSV240.0°, 53.7%, 37.3%
LAB20.7, 15.9, -30.5
XYZ4.0, 3.2, 11.2
Decimal2894943
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
12.86:1
Text on #FFFFFF
AAA
1.63:1
Text on #000000
FAIL
12.29:1
Text on #F8FAFC
AAA
1.39:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C2C5F;
}
.text-color {
color: #2C2C5F;
}
.border-color {
border: 2px solid #2C2C5F;
}