Closest to Midnight Blue
#3B0764
Color conversions
Reference values for common CSS, design, and accessibility formats.
| Format | Value | Preview | Copy |
|---|---|---|---|
| HEX | 3B0764 | ||
| HEX with # | #3B0764 | ||
| RGB | rgb(59, 7, 100) | ||
| RGBA | rgba(59, 7, 100, 1) | ||
| HSL | hsl(273.55 86.92% 20.98%) | ||
| HSLA | hsla(273.55, 86.92%, 20.98%, 1) | ||
| HSV | hsv(273.55, 93%, 39.22%) | ||
| CMYK | cmyk(41%, 93%, 0%, 60.78%) | ||
| OKLCH | oklch(29.05% 0.1432 302.72) |
Closest named matches
Color modifications
Lighter shades
Saturation steps
Suggested pairings
Split-complementary
Try this combo as a gradientUse this color in CSS
--color: #3B0764;
bg-[#3b0764]
Accessibility quick-check
White text
15:1
AAA normal
Black text
1.4:1
Decorative only
Reference notes
Midnight Blue is the nearest readable name for #3B0764, a saturated violet with deep value. Its RGB value is 59, 7, 100, while the HSL reading places it around 274 degrees of hue, 87% saturation, and 21% lightness. Its cool temperature makes it easier to place in a palette: warm colors tend to move forward, cool colors tend to recede, and neutral colors depend more heavily on surrounding contrast. For interface work, start with the accessibility table before assigning this color to text, icons, or interactive states; perceived brightness can differ from the raw hex value. Pairing suggestions on this page are generated from hue relationships, so they work as starting points rather than fixed brand or accessibility recommendations. For palette building, start with one strong relationship from the pairing section, then adjust lightness until the hierarchy remains readable at small sizes. It works best in interfaces that need weight, contrast, or a more formal visual register. For stronger contrast, compare it with black and white text and then choose pairings from complementary or split-complementary suggestions.