Log Cabin

#1F1F1F

General Information

The hex color code #1F1F1F represents a very dark shade of gray, almost black, often referred to as "Log Cabin." It is composed of equal parts red, green, and blue, indicating its position along the grayscale spectrum. In the RGB color model, it has values of R:31, G:31, B:31. Its corresponding values in other color models are approximately H:0, S:0, L:12 in HSL, and C:0, M:0, Y:0, K:88 in CMYK. Due to its low luminance, #1F1F1F is typically used for backgrounds, accents, or as a base color in dark-themed designs. Its subtle nature makes it a versatile choice for creating sophisticated and understated aesthetics across various applications, from web design to interior decoration. The color provides a solid base for more vibrant elements.

The hex color #1F1F1F, also known as Log Cabin, presents several accessibility considerations, especially for web content. Its low luminance value indicates it's a dark color, requiring careful attention to color contrast. According to WCAG guidelines, sufficient contrast between text and background is crucial for readability. For normal text (14pt/18.66px and below), a contrast ratio of at least 4.5:1 is needed, while large text (18pt/24px and above) requires a 3:1 ratio. Using #1F1F1F for text or backgrounds necessitates pairing it with a very light color to meet these standards. Tools like contrast checkers can help determine compliance. Additionally, consider users with low vision or color blindness who may struggle to differentiate elements with poor contrast. Providing alternative cues, such as underlines or icons, can enhance usability. The color #1F1F1F could be used for decorative purposes where it doesn't impact text legibility or crucial UI elements.

Shades

Digital Color Formats

RGB
31 31 31
RGB31 31 31
Red
Green
Blue
HSL
0 0% 12.16%
0012.16HSL
Hue
Saturation
Lightness
HWB
0 12.16% 87.84%
012.1687.84HWB
Hue
Whiteness
Blackness
hex#1F1F1F
rgb31 31 31
hsl0 0% 12.16%
cmyk0% 0% 0% 87.84%
hwb0 12.16% 87.84%
xyz1.3 1.37 1.49
CMYK
0% 0% 0% 87.84%
00087.84CMYK
Cyan
Magenta
Yellow
Key
XYZ
1.3 1.37 1.49
1.31.371.49XYZ
X
Y
Z

Alternative colors

Applications

Complementary color

Buttons

HexColo.rs © 2025