Midnight

#0C1033

General Information about #0c1033

The hex color #0c1033, also known as Midnight, is a very dark shade of blue, bordering on black. In the RGB color model, it is composed of 4.71% red, 6.27% green, and 20% blue. This combination results in a deep, muted color that evokes feelings of tranquility, mystery, and sophistication. Colors with a similar composition are often associated with nighttime, calmness, and introspection. In terms of color theory, #0c1033 has a relatively low saturation and brightness, making it a subtle and understated choice. It can be used effectively as a background color to make brighter elements stand out, or as an accent color to add depth and richness to a design. It is a good color to create a luxurious feeling in your design.

The hex color #0c1033, also known as Midnight, presents some accessibility challenges, particularly when used for text or interactive elements. Its low luminance value of approximately 3.5 cd/m² results in a very dark appearance. Consequently, using this color for text on a white background, or as a background for white text, would result in a contrast ratio well below the WCAG (Web Content Accessibility Guidelines) minimum threshold of 4.5:1 for normal text. This makes it difficult for users, especially those with visual impairments, to read the content. To improve accessibility, it is imperative to pair #0c1033 with significantly lighter colors that provide sufficient contrast. For instance, using a very light yellow or off-white (#FFFFE0 or #FAF9F6) for text on a #0c1033 background, or vice versa, would greatly enhance readability and meet accessibility standards. Avoid using it for crucial interactive elements without ensuring adequate contrast with surrounding colors.

Shades

Digital Color Formats

RGB
12 16 51
RGB12 16 51
Red
Green
Blue
HSL
233.85deg 61.9% 12.35%
233.8561.912.35HSL
Hue
Saturation
Lightness
HWB
233.85deg 4.71% 80%
233.854.7180HWB
Hue
Whiteness
Blackness
hex#0C1033
rgb12 16 51
hsl233.85deg 61.9% 12.35%
cmyk76.47% 68.63% 0% 80%
hwb233.85deg 4.71% 80%
xyz-d650.01 0.01 0.03
oklch0.1949 0.0686 273.32
oklab0.1949 0 -0.07
CMYK
76.47% 68.63% 0% 80%
76.4768.63080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1949 0.0686 273.32
0.19490.0686273.32LCH
Lightness
Chroma
Hue
OKLAB
0.1949 0 -0.07
0.19490-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons