Midnight

#001233

General Information about #001233

The hexadecimal color code #001233, often referred to as Midnight, represents a very dark shade of blue. In the RGB color model, it is composed of 0% red, 7.1% green, and 20% blue. This combination results in a deep, muted color that evokes feelings of calmness, depth, and sophistication. Midnight blue is commonly used in various design applications, from web development to interior design, to create a sense of elegance and professionalism. Its dark nature makes it a versatile background color, allowing lighter elements to stand out prominently. However, care must be taken to ensure sufficient contrast between text and background for optimal readability and accessibility. The color is often associated with the night sky, adding to its allure and versatility in creative projects.

The hex color #001233, also known as Midnight, presents significant accessibility challenges due to its very dark nature. When used as a background color, it necessitates extremely light text to ensure sufficient contrast for readability. According to WCAG guidelines, the contrast ratio between text and background should be at least 4.5:1 for normal text and 3:1 for large text to meet AA compliance. Given the darkness of #001233, achieving these ratios requires careful selection of foreground colors, typically shades of white or very light grays. Insufficient contrast can lead to eye strain and make content inaccessible to users with visual impairments. When using this color, it is crucial to test the contrast ratio using online tools and consider the needs of all users, including those with low vision or color blindness. It's advisable to use color combinations that have been tested for accessibility and to provide alternative color schemes for users who may need them.

Shades

Digital Color Formats

RGB
0 18 51
RGB0 18 51
Red
Green
Blue
HSL
218.82deg 100% 10%
218.8210010HSL
Hue
Saturation
Lightness
HWB
218.82deg 0% 80%
218.82080HWB
Hue
Whiteness
Blackness
hex#001233
rgb0 18 51
hsl218.82deg 100% 10%
cmyk100% 64.71% 0% 80%
hwb218.82deg 0% 80%
xyz-d650.01 0.01 0.03
oklch0.1912 0.0712 258.15
oklab0.1912 -0.01 -0.07
CMYK
100% 64.71% 0% 80%
10064.71080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1912 0.0712 258.15
0.19120.0712258.15LCH
Lightness
Chroma
Hue
OKLAB
0.1912 -0.01 -0.07
0.1912-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons