Midnight

#021932

General Information about #021932

The hexadecimal color code #021932 represents a very dark shade of blue, often referred to as "Midnight." It is composed of 1.76% red, 9.8% green, and 19.61% blue. In the RGB color space, it has values of R:2, G:25, B:50. In the CMYK color space, its approximate composition is C:96%, M:50%, Y:0%, K:80%. This color is predominantly used where a deep, dark, and calming tone is desired. Its hex triplet is 021932, and it falls under the category of cool colors due to its bluish undertones. It’s often associated with sophistication, depth, and tranquility, making it suitable for various design applications.

The hex color #021932, also known as Midnight, presents specific accessibility challenges due to its very dark nature. When used as a background color, it requires extremely light text to ensure sufficient contrast for readability, adhering to WCAG (Web Content Accessibility Guidelines) standards. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Using this color for interactive elements like buttons or links demands careful consideration of focus states and hover effects, as the dark shade can obscure visual cues. Web developers should leverage contrast checking tools to validate the accessibility of color combinations involving #021932. Furthermore, its use should be avoided where color is the sole means of conveying information, as users with visual impairments may not be able to perceive it. Semantic HTML and ARIA attributes should be employed to provide alternative methods of understanding the content.

Shades

Digital Color Formats

RGB
2 25 50
RGB2 25 50
Red
Green
Blue
HSL
211.25deg 92.31% 10.2%
211.2592.3110.2HSL
Hue
Saturation
Lightness
HWB
211.25deg 0.78% 80.39%
211.250.7880.39HWB
Hue
Whiteness
Blackness
hex#021932
rgb2 25 50
hsl211.25deg 92.31% 10.2%
cmyk96% 50% 0% 80.39%
hwb211.25deg 0.78% 80.39%
xyz-d650.01 0.01 0.03
oklch0.2113 0.0579 251.9
oklab0.2113 -0.02 -0.06
CMYK
96% 50% 0% 80.39%
9650080.39CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2113 0.0579 251.9
0.21130.0579251.9LCH
Lightness
Chroma
Hue
OKLAB
0.2113 -0.02 -0.06
0.2113-0.02-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons