Midnight Color – #03012d: Codes and Complete Breakdown
By
Published on
The Midnight color hex code is #03012d, and it is composed of 1% red, 0% green and 18% blue.
Midnight is a dark, vibrant, saturated, and cool color at 98% saturation. It has a contrast ratio of 20.07:1 against a white background, which passes WCAG AA (Web Content Accessibility Guidelines, Level AA) compliance.
For better visibility, it is recommended to use the Midnight color (#03012d) against light backgrounds.

Midnight Color Shades
Complementary colors
Triadic colors
Tints or lighter colors
Analogous colors
Monochromatic colors
#03012d
Midnight Color Codes and Information
Here’s a complete breakdown of the color Midnight, including its HEX, RGB, HSL, and CMYK values, as well as other information about the color.
| Data Type | Values/Details |
|---|---|
| Hex | #03012d |
| RGB | rgb(3,1,45) |
| HSL | hsl(243,95.7%,9%) |
| CMYK | 93, 98, 0, 82 |
| HSV | 243, 98, 18 |
| RGB % | 1, 0, 18 |
| XYZ | 0.5, 0.2, 2.5 |
| LAB | 1.8, 12.7, -26.1 |
| Color Category | Dark |
| Color Family | Black |
| Saturation | 98% |
| Temperature | Cool |
| Contrast Ratio Againt White (#ffffff) | 20.07 (passes WCAG AA) |
| Contrast Ratio Againt Black (#000000) | 1.05 (fails WCAG AA) |
Similar Colors to Midnight Color
#280137

Midnight Purple
#38393f

After Midnight
#112266

Pure Midnight
#003388

One Minute to Midnight
#204652

Moscow Midnight
#000133

Mighty Midnight
#555b53

Midnight Spruce
#4e5a6d

Midnight Sun









