#2C338A
A dark, moderate blue closely aligning with Darkslateblue.
About #2C338A
Visually, #2C338A 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, 51 green, and 138 blue.
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 68% C, 63% M, 0% Y, and 46% K. This makes it a relatively light color when applied to physical surfaces.
Ensuring your text is legible against this background is a key part of web design. 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#2C338A
RGB44, 51, 138
HSL235.5°, 51.6%, 35.7%
CMYK68%, 63%, 0%, 46%
HSV235.5°, 68.1%, 54.1%
LAB26.0, 26.7, -49.4
XYZ6.8, 4.7, 24.6
Decimal2896778
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.78:1
Text on #FFFFFF
AAA
1.95:1
Text on #000000
FAIL
10.31:1
Text on #F8FAFC
AAA
1.66:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2C338A;
}
.text-color {
color: #2C338A;
}
.border-color {
border: 2px solid #2C338A;
}