Midnight

#030B31

General Information about #030B31

The hex color code #030B31, also known as Midnight, is a very dark shade of blue. It is composed of 1.18% red, 4.31% green, and 19.22% blue. In the RGB color model, #030B31 has the values 3 red, 11 green, and 49 blue. In the CMYK color model, the values are 94% cyan, 78% magenta, 0% yellow, and 81% black. This color is often associated with feelings of depth, calmness, and sophistication. Due to its high blue content and low red and green content, it falls within the darker range of the color spectrum. Its darkness makes it ideal for use in backgrounds or areas where a subtle, understated color is needed, but requires careful consideration of contrast with foreground elements to maintain readability and accessibility.

The hex color #030B31, often referred to as Midnight, presents significant accessibility challenges due to its extremely dark nature. When used as a background color, it necessitates very light text (ideally white or near-white) to ensure sufficient contrast for readability. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Given its low luminance, #030B31 will likely require careful selection of foreground colors to meet these standards. It is crucial to test color combinations using accessibility tools to verify compliance, particularly for users with visual impairments. Overuse of this dark color can also strain the eyes, so consider using it sparingly and pairing it with lighter elements to balance the visual experience. Providing alternative themes with higher contrast options can further enhance accessibility for all users.

Shades

Digital Color Formats

RGB
3 11 49
RGB3 11 49
Red
Green
Blue
HSL
229.57deg 88.46% 10.2%
229.5788.4610.2HSL
Hue
Saturation
Lightness
HWB
229.57deg 1.18% 80.78%
229.571.1880.78HWB
Hue
Whiteness
Blackness
hex#030B31
rgb3 11 49
hsl229.57deg 88.46% 10.2%
cmyk93.88% 77.55% 0% 80.78%
hwb229.57deg 1.18% 80.78%
xyz-d650.01 0 0.03
oklch0.1739 0.0766 266.12
oklab0.1739 -0.01 -0.08
CMYK
93.88% 77.55% 0% 80.78%
93.8877.55080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0 0.03
0.0100.03XYZ
X
Y
Z
OKLCH
0.1739 0.0766 266.12
0.17390.0766266.12LCH
Lightness
Chroma
Hue
OKLAB
0.1739 -0.01 -0.08
0.1739-0.01-0.08LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons