#2B235E
A dark, moderate blue closely aligning with Darkslateblue.
About #2B235E
The hex code #2B235E represents a beautifully specific shade of blue. If you're using CSS, you might find it aligns closely with Darkslateblue. Its digital footprint relies on 43 parts red, 35 parts green, and 94 parts blue light.
If you are designing for print, the four-color process is what matters most. The color uses 54% Cyan, 63% Magenta, 0% Yellow, and 63% Black. The HSL representation is 248.1° hue, 45.7% saturation, and 25.3% lightness.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#2B235E
RGB43, 35, 94
HSL248.1°, 45.7%, 25.3%
CMYK54%, 63%, 0%, 63%
HSV248.1°, 62.8%, 36.9%
LAB18.0, 21.5, -34.2
XYZ3.6, 2.5, 10.9
Decimal2827102
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.96:1
Text on #FFFFFF
AAA
1.50:1
Text on #000000
FAIL
13.34:1
Text on #F8FAFC
AAA
1.28:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #2B235E;
}
.text-color {
color: #2B235E;
}
.border-color {
border: 2px solid #2B235E;
}