Midnight

#010F34

General Information about #010F34

The hex color code #010F34, often referred to as 'Midnight', represents a very dark shade of blue. It's composed of 0.4% red, 5.9% green, and 20.4% blue. In the RGB color space, it has values of R:1, G:15, B:52. The HSL (hue, saturation, lightness) values are H:223.7 degrees, S:96.3%, L:10.6%. The CIE chromaticity coordinates are x:0.1582 and y:0.2249. Due to its very low lightness value, #010F34 is perceived as a very dark color, often appearing almost black. It is primarily used when a deep, rich shade of blue is desired, often to convey a sense of sophistication, depth, or mystery. However, it's crucial to consider contrast ratios when using this color, particularly for text, to ensure accessibility.

The hex color #010F34, also known as Midnight, presents significant accessibility challenges, especially in text and user interface design. Its extremely low luminance value makes it difficult to perceive against most backgrounds, potentially violating WCAG (Web Content Accessibility Guidelines) contrast ratio requirements. To ensure readability and usability, it is crucial to pair this color with very light hues. White (#FFFFFF) or very pale yellows and greens are suitable choices. When using #010F34 for interactive elements, sufficient contrast is vital for users with visual impairments. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is recommended. It's also important to consider providing alternative styling options, such as a high-contrast mode, to accommodate users with different visual needs. Furthermore, avoid using #010F34 to convey critical information without sufficient contrast. Remember to use color contrast checkers to validate the contrast ratios.

Shades

Digital Color Formats

RGB
1 15 52
RGB1 15 52
Red
Green
Blue
HSL
223.53deg 96.23% 10.39%
223.5396.2310.39HSL
Hue
Saturation
Lightness
HWB
223.53deg 0.39% 79.61%
223.530.3979.61HWB
Hue
Whiteness
Blackness
hex#010F34
rgb1 15 52
hsl223.53deg 96.23% 10.39%
cmyk98.08% 71.15% 0% 79.61%
hwb223.53deg 0.39% 79.61%
xyz-d650.01 0.01 0.03
oklch0.1853 0.0768 261.73
oklab0.1853 -0.01 -0.08
CMYK
98.08% 71.15% 0% 79.61%
98.0871.15079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1853 0.0768 261.73
0.18530.0768261.73LCH
Lightness
Chroma
Hue
OKLAB
0.1853 -0.01 -0.08
0.1853-0.01-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons