Bastille

#2A222D

General Information

The hexadecimal color code #2A222D, also known as Bastille, is a dark, muted shade that falls within the range of deep purples and browns. It is composed of 16.47% red, 13.33% green, and 17.65% blue. In the RGB color space, it is represented as (42, 34, 45). This color tends to evoke feelings of sophistication, mystery, and elegance. It is often associated with luxury and formality. In terms of color mixing, #2A222D can be created by combining various proportions of red, green, and blue light. The color's darkness is attributed to the low percentages of each primary color, resulting in a subdued and understated aesthetic. In design, it is crucial to consider the contrast ratio when using this dark color to ensure readability and accessibility.

The color #2A222D, also known as Bastille, presents some accessibility challenges, especially when used for text or interactive elements. Its low luminance value (relatively dark) means that it requires careful consideration of contrast ratios against background colors. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text against its background to meet AA compliance. For AAA compliance, these ratios increase to 7:1 and 4.5:1, respectively. When using #2A222D, lighter colors like whites, light grays, or even muted pastels should be considered as foreground colors to ensure sufficient contrast. Tools for checking color contrast can aid in verifying compliance and are highly recommended during the design and development phases. Utilizing this color effectively requires thoughtful planning to ensure inclusivity for users with visual impairments.

Shades

Digital Color Formats

RGB
42 34 45
RGB42 34 45
Red
Green
Blue
HSL
283.64deg 13.92% 15.49%
283.6413.9215.49HSL
Hue
Saturation
Lightness
HWB
283.64deg 13.33% 82.35%
283.6413.3382.35HWB
Hue
Whiteness
Blackness
hex#2A222D
rgb42 34 45
hsl283.64deg 13.92% 15.49%
cmyk6.67% 24.44% 0% 82.35%
hwb283.64deg 13.33% 82.35%
xyz-d650.02 0.02 0.03
oklch0.2658 0.0231 316.71
oklab0.2658 0.02 -0.02
CMYK
6.67% 24.44% 0% 82.35%
6.6724.44082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.03
0.020.020.03XYZ
X
Y
Z
OKLCH
0.2658 0.0231 316.71
0.26580.0231316.71LCH
Lightness
Chroma
Hue
OKLAB
0.2658 0.02 -0.02
0.26580.02-0.02LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons