Midnight Blue Color – #020035: Codes and Complete Breakdown
By
Published on
The Midnight Blue color hex code is #020035, and it is composed of 1% red, 0% green and 21% blue.
Midnight Blue is a dark, vibrant, saturated, and cool color at 100% saturation. It has a contrast ratio of 19.92: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 Blue color (#020035) against light backgrounds.

Midnight Blue Color Shades
Complementary colors
Triadic colors
Tints or lighter colors
Darker colors
Analogous colors
Monochromatic colors
#020035
Midnight Blue Color Codes and Information
Here’s a complete breakdown of the color Midnight Blue, including its HEX, RGB, HSL, and CMYK values, as well as other information about the color.
| Data Type | Values/Details |
|---|---|
| Hex | #020035 |
| RGB | rgb(2,0,53) |
| HSL | hsl(242,100%,10.4%) |
| CMYK | 96, 100, 0, 79 |
| HSV | 242, 100, 21 |
| RGB % | 1, 0, 21 |
| XYZ | 0.7, 0.3, 3.4 |
| LAB | 2.7, 17, -30.7 |
| Color Category | Dark |
| Color Family | Blue |
| Saturation | 100% |
| Temperature | Cool |
| Contrast Ratio Againt White (#ffffff) | 19.92 (passes WCAG AA) |
| Contrast Ratio Againt Black (#000000) | 1.05 (fails WCAG AA) |
Similar Colors to Midnight Blue Color
#16b8f3

Zima Blue
#00308f

US Air Force Blue
#8093a4

Dusty Blue
#4169e1

Royal Blue
#dde0df

Barely Blue
#9bb3bc

Blue Shell
#cfe2ef

Weak Blue
#d1d8d0

Zephyr Blue










