Midnight

#041230

General Information about Midnight (#041230)

The hexadecimal color code #041230, often referred to as Midnight, signifies a very dark shade of blue. It resides in the Blue-Violet hue range, leaning towards the deeper end of the spectrum. In the RGB color model, it is composed of 1.57% red, 7.06% green, and 18.82% blue. This composition makes it a cool-toned color, often associated with concepts like night, depth, and mystery. Midnight is commonly employed in graphic design, web development, and fashion for its ability to evoke a sense of elegance and sophistication. Its low luminance value makes it essential to consider contrast ratios when using it in visual mediums to ensure accessibility and readability.

The hex color #041230, also known as Midnight, presents significant accessibility challenges due to its very dark nature. Its low luminance results in poor contrast against lighter backgrounds, making it difficult for individuals with visual impairments to perceive text or graphical elements rendered in this color. Web developers should exercise extreme caution when using this color, particularly for text or interactive elements. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text to meet WCAG (Web Content Accessibility Guidelines) standards. Always pair it with very light colors to ensure readability and usability for all users, including those with low vision or color blindness. Consider using contrast checkers to verify compliance with accessibility standards.

Shades

Digital Color Formats

RGB
4 18 48
RGB4 18 48
Red
Green
Blue
HSL
220.91deg 84.62% 10.2%
220.9184.6210.2HSL
Hue
Saturation
Lightness
HWB
220.91deg 1.57% 81.18%
220.911.5781.18HWB
Hue
Whiteness
Blackness
hex#041230
rgb4 18 48
hsl220.91deg 84.62% 10.2%
cmyk91.67% 62.5% 0% 81.18%
hwb220.91deg 1.57% 81.18%
xyz-d650.01 0.01 0.03
oklch0.1912 0.0637 261.78
oklab0.1912 -0.01 -0.06
CMYK
91.67% 62.5% 0% 81.18%
91.6762.5081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1912 0.0637 261.78
0.19120.0637261.78LCH
Lightness
Chroma
Hue
OKLAB
0.1912 -0.01 -0.06
0.1912-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons