Midnight Color – #03012d: Codes and Complete Breakdown

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

Midnight Color Shades

Complementary colors

  1. #03012D

  2. #8E9603

Triadic colors

  1. #03012D

  2. #960B03

  3. #03960B

Tints or lighter colors

  1. #07025F

  2. #0A0391

  3. #0E04C3

  4. #1105F5

  5. #3C32FB

Analogous colors

  1. #012B2D

  2. #01152D

  3. #03012D

  4. #19012D

  5. #2D012B

Monochromatic colors

  1. #010014

  2. #040047

  3. #080378

  4. #1008A5

#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 TypeValues/Details
Hex#03012d
RGBrgb(3,1,45)
HSLhsl(243,95.7%,9%)
CMYK93, 98, 0, 82
HSV243, 98, 18
RGB %1, 0, 18
XYZ0.5, 0.2, 2.5
LAB1.8, 12.7, -26.1
Color CategoryDark
Color FamilyBlack
Saturation98%
TemperatureCool
Contrast Ratio Againt White (#ffffff)20.07 (passes WCAG AA)
Contrast Ratio Againt Black (#000000)1.05 (fails WCAG AA)

Related Color Shades