Midnight

#071A2E

General Information about #071A2E

The hex color code #071A2E represents a very dark shade of blue, often described as 'Midnight'. It belongs to the blue color family, characterized by its low saturation and luminance values. In the RGB color model, it consists of 7 red, 26 green, and 46 blue components. This color is frequently used in digital design to create a sense of depth, mystery, or sophistication. Due to its darkness, it's crucial to ensure sufficient contrast with foreground elements like text or icons for readability and accessibility. The color is more appropriate as background in darker themes or for stylistic purposes where high contrast isn't a primary concern. In terms of web development, this color can be defined using the hex code #071A2E, or its RGB equivalent rgb(7, 26, 46).

The hex color #071A2E, a very dark shade of blue, presents significant accessibility challenges, particularly for users with visual impairments. Its low luminance value necessitates careful consideration of color contrast. When used for text, it is crucial to pair it with a very light color to ensure sufficient contrast ratio, ideally exceeding the WCAG AA or AAA standards. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is recommended. Avoid using this color for essential interface elements or links without clear visual cues, as users may struggle to identify them. Providing alternative text descriptions for images and interactive elements further enhances accessibility. Thoughtful use of typography, spacing, and other visual aids can also help improve the user experience for individuals with disabilities when working with such a dark color.

Shades

Digital Color Formats

RGB
7 26 46
RGB7 26 46
Red
Green
Blue
HSL
210.77deg 73.58% 10.39%
210.7773.5810.39HSL
Hue
Saturation
Lightness
HWB
210.77deg 2.75% 81.96%
210.772.7581.96HWB
Hue
Whiteness
Blackness
hex#071A2E
rgb7 26 46
hsl210.77deg 73.58% 10.39%
cmyk84.78% 43.48% 0% 81.96%
hwb210.77deg 2.75% 81.96%
xyz-d650.01 0.01 0.03
oklch0.214 0.047 251.63
oklab0.214 -0.01 -0.04
CMYK
84.78% 43.48% 0% 81.96%
84.7843.48081.96CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.214 0.047 251.63
0.2140.047251.63LCH
Lightness
Chroma
Hue
OKLAB
0.214 -0.01 -0.04
0.214-0.01-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons