Midnight

#031331

General Information about Midnight (#031331)

The hexadecimal color code #031331 represents a very dark shade of blue, often referred to as "Midnight". It is composed of 1.18% red, 7.45% green, and 19.22% blue. In the RGB color model, this translates to 3 red, 19 green, and 49 blue. Its perceived darkness gives it a sense of depth and sophistication, frequently associated with elegance and formality. The color exudes a quiet, calming presence, often utilized in designs aiming for a sense of peace. The color’s nature makes it more appropriate for use as an accent or background color, rather than a primary hue. In CMYK, it consists of 93.88% cyan, 61.22% magenta, 0% yellow, and 80.78% black.

The hex color #031331, also known as Midnight, presents some 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, especially for users with visual impairments. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text, as per WCAG guidelines. Using lighter shades of gray, or colors like white or yellow for text on a #031331 background can help meet these guidelines. Careful consideration should be given to the font size and weight to further enhance readability. Tools for checking color contrast ratios are widely available and should be utilized during the design process to guarantee compliance and provide an inclusive user experience.

Shades

Digital Color Formats

RGB
3 19 49
RGB3 19 49
Red
Green
Blue
HSL
219.13deg 88.46% 10.2%
219.1388.4610.2HSL
Hue
Saturation
Lightness
HWB
219.13deg 1.18% 80.78%
219.131.1880.78HWB
Hue
Whiteness
Blackness
hex#031331
rgb3 19 49
hsl219.13deg 88.46% 10.2%
cmyk93.88% 61.22% 0% 80.78%
hwb219.13deg 1.18% 80.78%
xyz-d650.01 0.01 0.03
oklch0.1941 0.0644 259.92
oklab0.1941 -0.01 -0.06
CMYK
93.88% 61.22% 0% 80.78%
93.8861.22080.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1941 0.0644 259.92
0.19410.0644259.92LCH
Lightness
Chroma
Hue
OKLAB
0.1941 -0.01 -0.06
0.1941-0.01-0.06LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons