Midnightblue — #191970
#191970 is a dark, moderately saturated blue. It is the CSS named color midnightblue.
Color values
| HEX | #191970 |
| RGB | rgb(25, 25, 112) |
| HSL | hsl(240, 64%, 27%) |
| CMYK | cmyk(78%, 78%, 0%, 56%) |
| Decimal | 1644912 |
| CSS | color: #191970; |
| Android | 0xFF191970 |
| Swift | UIColor(red: 0.098, green: 0.098, blue: 0.439, alpha: 1) |
Accessibility and contrast
| White text on #191970 | 14.85:1 — AA pass · AA large pass · AAA pass |
| Black text on #191970 | 1.41:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #191970
Each swatch keeps the hue and saturation of #191970 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #191970
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #191970 in code
/* CSS */
.element { color: #191970; background-color: #191970; }
.element { color: rgb(25 25 112); }
.element { color: hsl(240 64% 27%); }
/* Tailwind arbitrary value */
<div class="bg-[#191970] text-white">
/* SCSS variable */
$brand: #191970;
Frequently asked questions
What color is #191970?
#191970 is a dark, moderately saturated blue, which CSS calls midnightblue. Its hue sits at 240° on the color wheel, with 64% saturation and 27% lightness.
What is #191970 in RGB?
#191970 converts to rgb(25, 25, 112) — 25 red, 25 green and 112 blue.
What is #191970 in CMYK?
Approximately cmyk(78%, 78%, 0%, 56%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #191970 be white or black?
White gives the better contrast ratio (14.85:1 versus 1.41:1).
What is the complementary color of #191970?
#717119 — the hue directly opposite #191970 on the color wheel.