Midnight Blue

#002B5F

General Information about Midnight Blue

The hexadecimal color code #002B5F represents a dark shade of blue, commonly known as Midnight Blue. In the RGB color model, it consists of 0% red, 17.3% green, and 37.3% blue. This color is often associated with depth, stability, and sophistication. It's frequently used in contexts where a sense of trustworthiness and calm is desired. Midnight Blue is a popular choice in graphic design and web development for backgrounds and text, particularly where a subtle and understated aesthetic is required. Its dark nature means it generally needs to be paired with light colors to provide sufficient contrast for readability. The color is a timeless classic that evokes the quietness of a starlit night sky, and is often seen as an alternative to black.

The hex color #002B5F, also known as Midnight Blue, presents some accessibility challenges, particularly concerning color contrast. When used as a background color, it requires very light text (white or near-white) to ensure sufficient contrast for readability, meeting WCAG guidelines for accessibility. The contrast ratio should be at least 4.5:1 for normal text and 3:1 for large text. Using darker text colors on this background can render content illegible for users with visual impairments. Similarly, when used as a text color, a very light background is essential. It's crucial to test color combinations using accessibility tools to confirm they meet accessibility standards. When used for decorative purposes, ensure that the color isn't the sole indicator of important information, like links or interactive elements. Consider providing alternative cues such as underlines or icons to enhance accessibility.

Shades

Digital Color Formats

RGB
0 43 95
RGB0 43 95
Red
Green
Blue
HSL
212.84deg 100% 18.63%
212.8410018.63HSL
Hue
Saturation
Lightness
HWB
212.84deg 0% 62.75%
212.84062.75HWB
Hue
Whiteness
Blackness
hex#002B5F
rgb0 43 95
hsl212.84deg 100% 18.63%
cmyk100% 54.74% 0% 62.75%
hwb212.84deg 0% 62.75%
xyz-d650.03 0.03 0.11
oklch0.2973 0.1031 256.42
oklab0.2973 -0.02 -0.1
CMYK
100% 54.74% 0% 62.75%
10054.74062.75CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.03 0.03 0.11
0.030.030.11XYZ
X
Y
Z
OKLCH
0.2973 0.1031 256.42
0.29730.1031256.42LCH
Lightness
Chroma
Hue
OKLAB
0.2973 -0.02 -0.1
0.2973-0.02-0.1LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons