#191970
midnightblue
#191970 is the CSS named color "midnightblue", an exact match. In RGB it breaks down to red 25, green 25, and blue 112 out of 255 each. In HSL terms that's a hue of 240°, 64% saturation, and 27% lightness: quite dark, close to black — it works well as body text on a light background or as a near-black UI surface.
Every format
| HEX | #191970 |
| RGB | rgb(25, 25, 112) |
| HSL | hsl(240° 64% 27%) |
| HSB | hsb(240° 78% 44%) |
| OKLCH | oklch(29% 0.144 273°) |
| OKLAB | oklab(29% 0.007 -0.143) |
| LCH | lch(15% 57.1 297°) |
| CMYK | cmyk(78% 78% 0% 56%) |
Shades (darker)
#191970 · #151169 · #110762 · #0f005b · #0c0054
Tints (lighter)
#191970 · #272f86 · #38449d · #4a5ab4 · #5d6fcc
Shades mix #191970 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 14.85:1 — AAA
On black: 1.41:1 — fails
Frequently asked
- What is #191970 in RGB?
- #191970 is rgb(25, 25, 112) — red 25, green 25, blue 112 out of 255 each.
- Does #191970 pass WCAG contrast on a white background?
- It has a contrast ratio of 14.85:1 against white, which passes WCAG AAA for normal text.
- What's a good background color to pair with #191970?
- White text or a white background gives better contrast (14.85:1) than black (1.41:1).