#191970 color (midnightblue)

#191970 is rgb(25, 25, 112) in RGB and hsl(240, 64%, 27%) in HSL. It is exactly the CSS color midnightblue. Use white text on it (contrast 14.85:1).

#191970midnightblue
HEX#191970
RGBrgb(25, 25, 112)
RGB percentrgb(9.8%, 9.8%, 43.9%)
HSLhsl(240, 64%, 27%)
HSV / HSBhsv(240, 78%, 44%)
CMYKcmyk(78%, 78%, 0%, 56%)
CIELAB (D65)lab(15.9 31.7 -49.6)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#191970
RGBrgb(25, 25, 112)
RGB percentrgb(9.8%, 9.8%, 43.9%)
HSLhsl(240, 64%, 27%)
HSV / HSBhsv(240, 78%, 44%)
CMYKcmyk(78%, 78%, 0%, 56%)
CIELAB (D65)lab(15.9 31.7 -49.6)
Decimal1644912
Binary00011001 00011001 01110000

HEX 19 19 70 → 25, 25, 112 (each pair is a base-16 number: 1×16 + 9 = 25)

Color harmonies

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 #191970RatioAA normalAA largeAAA normalAAA large
White text14.85:1PassPassPassPass
Black text1.41:1FailFailFailFail
White text on #191970
Black text on #191970
#191970 text on white
#191970 text on black

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

NameHEXΔE 2000
midnightblue#1919700
navy#0000805.6
darkblue#00008b6.2
indigo#4b00828.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; }

Frequently asked questions

What color is #191970?
A dark saturated indigo in the blue family. Closest CSS name: midnightblue.
What is #191970 in RGB?
rgb(25, 25, 112): red 25, green 25, blue 112.
What is the complementary color of #191970?
#707019, found by rotating the hue 180°.