Bastille

#2A222A

General Information about #2A222A

The hexadecimal color #2A222A, often referred to as "Bastille", is a dark, muted shade that resides within the realm of dark purplish-gray colors. It's composed of 16.47% red, 13.33% green, and 16.47% blue. In the RGB color space, it closely resembles a very dark, desaturated purple. This color finds use in different environments and applications where a subtle, dark tone is desired. Because of its dark nature, care should be taken to use it with appropriately light colors to guarantee readability and accessibility, especially when used as text or interactive elements. Color #2A222A is used more and more in modern design for websites, applications and printing materials.

The color #2A222A, also known as Bastille, presents several accessibility considerations for web developers. Its dark nature implies that sufficient contrast is crucial when paired with text or other interface elements. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text against its background. This ensures readability for users with visual impairments. Developers should use contrast checking tools to verify compliance. Furthermore, relying solely on color to convey information is discouraged. Providing alternative cues, such as text labels or icons, helps users who are color blind. When using #2A222A in interactive elements, ensure that hover, focus, and active states are clearly distinguishable to aid keyboard navigation and provide adequate feedback. Thoughtful color choices contribute significantly to an inclusive user experience.

Shades

Digital Color Formats

RGB
42 34 42
RGB42 34 42
Red
Green
Blue
HSL
300deg 10.53% 14.9%
30010.5314.9HSL
Hue
Saturation
Lightness
HWB
300deg 13.33% 83.53%
30013.3383.53HWB
Hue
Whiteness
Blackness
hex#2A222A
rgb42 34 42
hsl300deg 10.53% 14.9%
cmyk0% 19.05% 0% 83.53%
hwb300deg 13.33% 83.53%
xyz-d650.02 0.02 0.02
oklch0.2644 0.0187 326.02
oklab0.2644 0.02 -0.01
CMYK
0% 19.05% 0% 83.53%
019.05083.53CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.02
0.020.020.02XYZ
X
Y
Z
OKLCH
0.2644 0.0187 326.02
0.26440.0187326.02LCH
Lightness
Chroma
Hue
OKLAB
0.2644 0.02 -0.01
0.26440.02-0.01LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons