Midnight Blue

#023966

General Information about #023966

The hex color #023966, often referred to as midnight blue, is a dark shade of blue with a rich and sophisticated character. It is composed of 0.8% red, 22.4% green, and 40% blue. In the RGB color model, it is represented as (2, 57, 102). The corresponding CMYK values are (98, 44, 0, 60), indicating the proportions of cyan, magenta, yellow, and black inks needed to reproduce this color in print. Midnight blue is often associated with qualities such as calmness, stability, and depth. It is a popular choice in various design applications due to its versatility and ability to evoke a sense of elegance and professionalism.

The hex color #023966, a deep midnight blue, presents some accessibility challenges, particularly when used as a background color for text. Due to its low lightness value, it requires careful consideration of color contrast to ensure readability for users, including those with visual impairments. A general recommendation is to use light text colors like white or very light shades of yellow or gray. According to WCAG guidelines, the contrast ratio between the text and background should be at least 4.5:1 for normal text and 3:1 for large text (14 point and bold or larger, or 18 point or larger). Tools are available to check the contrast ratio to ensure compliance. When using #023966, avoid pairing it with other dark colors. Careful attention to contrast is crucial for creating inclusive and accessible web experiences.

Shades

Digital Color Formats

RGB
2 57 102
RGB2 57 102
Red
Green
Blue
HSL
207deg 96.15% 20.39%
20796.1520.39HSL
Hue
Saturation
Lightness
HWB
207deg 0.78% 60%
2070.7860HWB
Hue
Whiteness
Blackness
hex#023966
rgb2 57 102
hsl207deg 96.15% 20.39%
cmyk98.04% 44.12% 0% 60%
hwb207deg 0.78% 60%
xyz-d650.04 0.04 0.13
oklch0.3392 0.0944 250.12
oklab0.3392 -0.03 -0.09
CMYK
98.04% 44.12% 0% 60%
98.0444.12060CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.04 0.04 0.13
0.040.040.13XYZ
X
Y
Z
OKLCH
0.3392 0.0944 250.12
0.33920.0944250.12LCH
Lightness
Chroma
Hue
OKLAB
0.3392 -0.03 -0.09
0.3392-0.03-0.09LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons