Midnight Blue
#191970
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 191970 | ||
| HEX with # | #191970 | ||
| RGB | rgb(25, 25, 112) | ||
| RGBA | rgba(25, 25, 112, 1) | ||
| HSL | hsl(240 63.5% 26.86%) | ||
| HSLA | hsla(240, 63.5%, 26.86%, 1) | ||
| HSV | hsv(240, 77.68%, 43.92%) | ||
| CMYK | cmyk(77.68%, 77.68%, 0%, 56.08%) | ||
| OKLCH | oklch(28.81% 0.1436 272.76) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #191970;
bg-[#191970]
Accessibility quick-check
White text
14.85:1
AAA normal
Black text
1.41:1
Decorative only
Reference notes
#191970 is a deep, clear blue color closest to Midnight Blue. The color has RGB channels of 25, 25, and 112; in HSL terms, it is centered near 240 degrees with 64% saturation and 27% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for interfaces that need weight, contrast, or a more formal visual register. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.