Midnight

#0A0F30

General Information about #0A0F30

The hex color #0A0F30, often referred to as Midnight, is a very dark shade of blue, residing in the lower spectrum of the color wheel. It is composed of 3.92% red, 5.88% green, and 18.82% blue. In the RGB color space, it is represented as RGB(10, 15, 48). Its primary characteristic is its low luminance, making it appear almost black. Colors like Midnight are frequently associated with feelings of calmness, sophistication, and mystery. In design, it can create a sense of depth and luxury. Due to its darkness, it is essential to use it carefully, especially in contexts where readability is crucial.

The hex color #0a0f30, also known as Midnight, presents significant accessibility challenges, especially when used for text or interactive elements. Its extremely low luminance value results in poor contrast against almost any background. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is required for normal text and 3:1 for large text to ensure readability for users with visual impairments. Midnight is unlikely to meet these standards unless paired with a very light color. Web developers must carefully consider color combinations to avoid excluding users. Using contrast checking tools is essential to validate compliance with accessibility standards. When using Midnight, consider employing a very light tint of yellow or orange to enhance readability. Moreover, providing alternative styling options is vital, ensuring users can adjust color schemes to their preferences.

Shades

Digital Color Formats

RGB
10 15 48
RGB10 15 48
Red
Green
Blue
HSL
232.11deg 65.52% 11.37%
232.1165.5211.37HSL
Hue
Saturation
Lightness
HWB
232.11deg 3.92% 81.18%
232.113.9281.18HWB
Hue
Whiteness
Blackness
hex#0A0F30
rgb10 15 48
hsl232.11deg 65.52% 11.37%
cmyk79.17% 68.75% 0% 81.18%
hwb232.11deg 3.92% 81.18%
xyz-d650.01 0.01 0.03
oklch0.188 0.0657 272.01
oklab0.188 0 -0.07
CMYK
79.17% 68.75% 0% 81.18%
79.1768.75081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.188 0.0657 272.01
0.1880.0657272.01LCH
Lightness
Chroma
Hue
OKLAB
0.188 0 -0.07
0.1880-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons