Midnight Blue color: hex code #191970
Midnight Blue has the hex code #191970. It is a dark, moderate blue.
In the RGB color model it is made of 9.8% red, 9.8% green and 43.9% blue (25, 25, 112).
Its hue angle is 240°, with 64% saturation and 27% lightness. For print, the CMYK equivalent is 78% cyan, 78% magenta, 0% yellow and 56% black.
This exact color is also called 20000 Leagues Under the Sea.
You can use it in CSS with the keyword midnightblue.
White text is the more readable choice on this background (contrast 14.85:1).
Midnight Blue (#191970) color codes
| HEX | #191970 | |
|---|---|---|
| RGB | rgb(25, 25, 112) | |
| RGB percent | rgb(9.8%, 9.8%, 43.9%) | |
| HSL | hsl(240, 64%, 27%) | |
| HSV / HSB | hsv(240, 78%, 44%) | |
| CMYK | cmyk(78%, 78%, 0%, 56%) | |
| CIE LAB | lab(15.86, 31.71, -49.57) | |
| CIE LCH | lch(15.86, 58.85, 302.61) | |
| CIE XYZ | xyz(3.672, 2.071, 15.532) | |
| Decimal | 1644912 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Midnight Blue, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #191970 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.85:1 | Pass | Pass | Pass |
| #191970 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.85:1 | Pass | Pass | Pass |
| Sample text | 1.41:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #191970 looks to people with the most common types of color vision deficiency.
#002c73Protanopia
no red cones#00236eDeuteranopia
no green cones#003243Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #191970; }
.text { color: #191970; }
.border { border: 2px solid #191970; }
.transparent { background-color: rgb(25 25 112 / 50%); }
.gradient { background: linear-gradient(to right, #191970, #451970); }
Similar colors
#111166Dying Storm Blue#002277Long-Haul Flight#112473Midnight Crest#222266Intergalactic Cowboy#332277Deep Space Rodeo#150f5bSpace Colonisation#301885Indiglow#002489Lost in Heaven
See #191970 on its hex code page
Questions
- What color is #191970?
- #191970 is a dark, moderate blue known as Midnight Blue. It belongs to the blue family of colors.
- What is the RGB value of Midnight Blue?
- The RGB value is 25, 25, 112: 25 red, 25 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of Midnight Blue?
- The complementary color is #707019, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #191970?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.85:1. WCAG asks for at least 4.5:1 for normal text.