Midnight

#02182B

General Information about #02182B

The hexadecimal color code #02182B represents a very dark shade of blue, often referred to as "Midnight." In the RGB (Red, Green, Blue) color model, it consists of 1.8% red, 9.41% green, and 17.25% blue. This composition results in a color that is perceived as deep, mysterious, and sophisticated. Colors like #02182B are typically associated with tranquility, depth, and sometimes even melancholy. In the CMYK (Cyan, Magenta, Yellow, Key/Black) color model, it consists of 89.57% cyan, 45.45% magenta, 0% yellow, and 82.75% black. These models are used to define colors in different contexts, with RGB being common for digital displays and CMYK for print media. The low values across the RGB spectrum indicate its darkness, making it a suitable choice for backgrounds or accents that require a subtle presence. Because the color is very dark it requires lighter tones for text, images and other graphical components.

The hex color #02182B, also known as Midnight, presents significant accessibility challenges due to its very low luminance. When used as a background color, it requires extremely light text colors to achieve 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 tools like contrast checkers is crucial to ensure compliance. For users with visual impairments, including those with low vision or color blindness, insufficient contrast can render text illegible. Therefore, when incorporating #02182B into designs, careful consideration must be given to the accompanying text and interactive elements to guarantee an inclusive user experience. Designers should also provide alternative high-contrast themes or options where users can adjust the color scheme to meet their individual needs, promoting accessibility and usability.

Shades

Digital Color Formats

RGB
2 24 43
RGB2 24 43
Red
Green
Blue
HSL
207.8deg 91.11% 8.82%
207.891.118.82HSL
Hue
Saturation
Lightness
HWB
207.8deg 0.78% 83.14%
207.80.7883.14HWB
Hue
Whiteness
Blackness
hex#02182B
rgb2 24 43
hsl207.8deg 91.11% 8.82%
cmyk95.35% 44.19% 0% 83.14%
hwb207.8deg 0.78% 83.14%
xyz-d650.01 0.01 0.02
oklch0.2027 0.0481 246.45
oklab0.2027 -0.02 -0.04
CMYK
95.35% 44.19% 0% 83.14%
95.3544.19083.14CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.02
0.010.010.02XYZ
X
Y
Z
OKLCH
0.2027 0.0481 246.45
0.20270.0481246.45LCH
Lightness
Chroma
Hue
OKLAB
0.2027 -0.02 -0.04
0.2027-0.02-0.04LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons