Midnight

#0A1A30

General Information about #0A1A30

The hexadecimal color code #0A1A30 represents a dark shade of blue, often referred to as "Midnight." It is composed of 3.92% red, 10.2% green, and 18.82% blue. In the RGB color model, this equates to 10 red, 26 green, and 48 blue. The corresponding CMYK color values are 79.17% cyan, 45.83% magenta, 0% yellow, and 81.18% black. This color is associated with feelings of calmness, stability, and sophistication. Its low saturation and dark luminance make it suitable for backgrounds and accents where a subtle yet elegant touch is desired. The color has a calming presence.

The hex color #0A1A30, also known as Midnight, presents specific accessibility challenges, particularly in text applications. Its low luminance value necessitates careful consideration of contrast ratios, especially when used as a text color against a background. Adherence to WCAG guidelines is crucial to ensure readability 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. Pairing this color with lighter shades of yellow, white, or light gray can significantly improve accessibility. Avoid using it with darker colors, as the contrast would be insufficient, rendering the text illegible for many users. Thorough testing with accessibility evaluation tools is advised to validate compliance with accessibility standards and provide an inclusive user experience.

Shades

Digital Color Formats

RGB
10 26 48
RGB10 26 48
Red
Green
Blue
HSL
214.74deg 65.52% 11.37%
214.7465.5211.37HSL
Hue
Saturation
Lightness
HWB
214.74deg 3.92% 81.18%
214.743.9281.18HWB
Hue
Whiteness
Blackness
hex#0A1A30
rgb10 26 48
hsl214.74deg 65.52% 11.37%
cmyk79.17% 45.83% 0% 81.18%
hwb214.74deg 3.92% 81.18%
xyz-d650.01 0.01 0.03
oklch0.2172 0.0487 256.85
oklab0.2172 -0.01 -0.05
CMYK
79.17% 45.83% 0% 81.18%
79.1745.83081.18CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.2172 0.0487 256.85
0.21720.0487256.85LCH
Lightness
Chroma
Hue
OKLAB
0.2172 -0.01 -0.05
0.2172-0.01-0.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons