Bastille

#28212D

General Information about #28212D

The hex color #28212D, also known as Bastille, is a dark, muted shade that resides in the realm of deep grays and purples. It's composed of 15.7% red, 13.3% green, and 17.6% blue. In the RGB color space, it's relatively close to black, but the subtle undertones add depth and character. This color evokes a sense of mystery, sophistication, and understated elegance. Bastille is best suited for designs where a darker, more subdued palette is desired, but where pure black would be too stark. Its nuanced nature makes it a versatile choice for backgrounds, text, and accent elements in various design contexts, from web development to interior decor.

The hex color #28212D, also known as Bastille, presents some accessibility challenges. Its low luminance value of approximately 4.8 cd/m² means that it has poor contrast against both white and light-colored backgrounds. According to WCAG guidelines, sufficient contrast is crucial for users with visual impairments to perceive text and other important visual elements. Text using #28212D should ideally be paired with very light or bright colors to ensure a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. When using this color for interactive elements like buttons or links, it's important to provide clear visual cues, such as borders or icons, that do not solely rely on color contrast to convey information. Testing with accessibility evaluation tools can help identify specific issues and ensure compliance with accessibility standards, leading to a more inclusive design.

Shades

Digital Color Formats

RGB
40 33 45
RGB40 33 45
Red
Green
Blue
HSL
275deg 15.38% 15.29%
27515.3815.29HSL
Hue
Saturation
Lightness
HWB
275deg 12.94% 82.35%
27512.9482.35HWB
Hue
Whiteness
Blackness
hex#28212D
rgb40 33 45
hsl275deg 15.38% 15.29%
cmyk11.11% 26.67% 0% 82.35%
hwb275deg 12.94% 82.35%
xyz-d650.02 0.02 0.03
oklch0.261 0.0242 310.94
oklab0.261 0.02 -0.02
CMYK
11.11% 26.67% 0% 82.35%
11.1126.67082.35CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.03
0.020.020.03XYZ
X
Y
Z
OKLCH
0.261 0.0242 310.94
0.2610.0242310.94LCH
Lightness
Chroma
Hue
OKLAB
0.261 0.02 -0.02
0.2610.02-0.02LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons