Mirage

#1F1A1F

General Information about #1F1A1F

The hexadecimal color code #1F1A1F represents a very dark shade of gray, often referred to as Mirage. It is composed of 12.2% red, 10.2% green, and 12.2% blue. In the RGB color model, it is defined as rgb(31, 26, 31). This color possesses a low luminance value, contributing to its dark appearance. Colors similar to Mirage are frequently employed in designs seeking a modern, sophisticated, or understated aesthetic. Its neutrality allows for versatility in pairing with brighter or contrasting colors. The hex code #1F1A1F is a common choice for backgrounds, text (when paired with light foregrounds), and other design elements where a subtle and elegant dark hue is desired. In terms of additive color mixing, this color tends to absorb most wavelengths of light, reflecting very little back to the observer, which accounts for its dark perceived color.

The color #1F1A1F, also known as Mirage, presents several accessibility considerations for web developers. Its low luminance value means it has poor contrast against standard white backgrounds, potentially causing readability issues for users with visual impairments. According to WCAG guidelines, sufficient contrast is crucial for text and interactive elements. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Developers should ensure that when using Mirage for text or interactive elements, it is paired with a sufficiently light color to meet these contrast requirements. Tools like contrast checkers can help determine compliance. Furthermore, consider providing alternative color schemes to accommodate users with different visual needs or preferences. Over-reliance on this dark hue without proper contrast can exclude users and diminish the overall user experience. Meaningful non-color cues should also be used to convey information.

Shades

Digital Color Formats

RGB
31 26 31
RGB31 26 31
Red
Green
Blue
HSL
300 8.77% 11.18%
3008.7711.18HSL
Hue
Saturation
Lightness
HWB
300 10.2% 87.84%
30010.287.84HWB
Hue
Whiteness
Blackness
hex#1F1A1F
rgb31 26 31
hsl300 8.77% 11.18%
cmyk0% 16.13% 0% 87.84%
hwb300 10.2% 87.84%
xyz-d650.01 0.01 0.01
oklch0.2257 0.0122 325.87
oklab0.2257 0.01 -0.01
CMYK
0% 16.13% 0% 87.84%
016.13087.84CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.01
0.010.010.01XYZ
X
Y
Z
OKLCH
0.2257 0.0122 325.87
0.22570.0122325.87LCH
Lightness
Chroma
Hue
OKLAB
0.2257 0.01 -0.01
0.22570.01-0.01LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons