Ebony

#0C0F21

General Information about Ebony (#0C0F21)

The hex color #0C0F21, often referred to as Ebony, is a very dark shade of gray-black. It belongs to the black color family and is characterized by its extremely low lightness value. In the RGB color model, it is composed of 4.71% red, 5.88% green, and 12.94% blue. In the CMYK color model, used for printing, it consists of 64% cyan, 55% magenta, 0% yellow, and 87% black. This color is frequently employed to convey feelings of sophistication, mystery, and depth. Due to its darkness, it's essential to use it carefully in design to ensure readability and accessibility. It's commonly used as a background color or accent to provide contrast with lighter elements.

The hex color #0C0F21, also known as Ebony, presents significant accessibility challenges due to its extremely low luminance. Its contrast ratio against a standard white background is critically low, making it difficult for users with visual impairments to discern text or important UI elements. Therefore, it's crucial to avoid using this color for text, icons, or interactive elements without a carefully chosen, very light foreground color to ensure sufficient contrast. Web Content Accessibility Guidelines (WCAG) recommend a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Ebony falls far short of these recommendations. Using color contrast analyzers is crucial to validate any color combinations with this dark hue. Consider offering alternative high-contrast themes for your website or application to accommodate users with varying visual needs. For instance, a user-switchable 'high contrast' mode can significantly improve usability.

Shades

Digital Color Formats

RGB
12 15 33
RGB12 15 33
Red
Green
Blue
HSL
231.43 46.67% 8.82%
231.4346.678.82HSL
Hue
Saturation
Lightness
HWB
231.43 4.71% 87.06%
231.434.7187.06HWB
Hue
Whiteness
Blackness
hex#0C0F21
rgb12 15 33
hsl231.43 46.67% 8.82%
cmyk63.64% 54.55% 0% 87.06%
hwb231.43 4.71% 87.06%
xyz0.6 0.53 1.51
CMYK
63.64% 54.55% 0% 87.06%
63.6454.55087.06CMYK
Cyan
Magenta
Yellow
Key
XYZ
0.6 0.53 1.51
0.60.531.51XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025