Midnight

#001234

General Information about #001234 (Midnight)

The hexadecimal color code #001234, often referred to as 'Midnight', represents a very dark shade of blue. It is composed of 0% red, 7.1% green, and 20.4% blue. In the RGB color space, it translates to (0, 18, 52). The color is often associated with feelings of tranquility, depth, and mystery, reminiscent of a starlit night. Due to its low luminance, it appears almost black, making it challenging to use in designs where high contrast is necessary. In terms of color theory, Midnight falls into the cool color palette, typically associated with calmness and sophistication. This unique hue is not often found in nature, rendering it more closely associated with artificial dyes and modern aesthetic values.

The hex color #001234, also known as Midnight, presents significant accessibility challenges, particularly in text-based applications. Its extremely low luminance creates very little contrast against both white and black backgrounds. According to WCAG guidelines, sufficient contrast is essential for readability, especially for users with visual impairments. Using #001234 for text on a white background (or vice versa) would likely fail WCAG AA and AAA standards. To improve accessibility, consider using lighter shades of blue or pairing it with a very light color. Also, avoid using this color for crucial interactive elements without proper contrast ratios, like buttons or links, to ensure usability for all users. Always test color combinations with accessibility tools to meet the necessary contrast ratios for text and non-text elements.

Shades

Digital Color Formats

RGB
0 18 52
RGB0 18 52
Red
Green
Blue
HSL
219.23deg 100% 10.2%
219.2310010.2HSL
Hue
Saturation
Lightness
HWB
219.23deg 0% 79.61%
219.23079.61HWB
Hue
Whiteness
Blackness
hex#001234
rgb0 18 52
hsl219.23deg 100% 10.2%
cmyk100% 65.38% 0% 79.61%
hwb219.23deg 0% 79.61%
xyz-d650.01 0.01 0.03
oklch0.1923 0.0729 258.53
oklab0.1923 -0.01 -0.07
CMYK
100% 65.38% 0% 79.61%
10065.38079.61CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1923 0.0729 258.53
0.19230.0729258.53LCH
Lightness
Chroma
Hue
OKLAB
0.1923 -0.01 -0.07
0.1923-0.01-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons