About #191970
#191970 is a dark, saturated indigo with a hue angle of 240°. It belongs to the blue family and reads as a cool color. In the RGB model blue is the strongest channel at 112 (44%) and red the weakest at 25 (10%). Colors like this are typically used for headers, navigation bars and strong brand areas.
- It is the CSS named color midnightblue, so you can write
color: midnightblueinstead of the hex code.
Color conversions
| 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%) |
| CIELAB (D65) | lab(15.9 31.7 -49.6) |
| Decimal | 1644912 |
| Binary | 00011001 00011001 01110000 |
HEX 19 19 70 → 25, 25, 112 (each pair is a base-16 number: 1×16 + 9 = 25)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #191970
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #191970 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 14.85:1 | Pass | Pass | Pass | Pass |
| Black text | 1.41:1 | Fail | Fail | Fail | Fail |
Relative luminance is 0.0207 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#002c73
Deuteranopia#00236e
Tritanopia#003243
Achromatopsia#272727
People with red–green color blindness see this color almost unchanged (ΔE 4.6 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| midnightblue | #191970 | 0 |
| navy | #000080 | 5.6 |
| darkblue | #00008b | 6.2 |
| indigo | #4b0082 | 8.9 |
CSS
.element {
color: #191970;
background-color: rgb(25, 25, 112);
border: 1px solid hsl(240, 64%, 27%);
box-shadow: 0 2px 8px rgb(25 25 112 / 50%);
}
:root { --brand: #191970; }