#hexpedia

Closest to Midnight Blue

#202080

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX202080
HEX with ##202080
RGBrgb(32, 32, 128)
RGBArgba(32, 32, 128, 1)
HSLhsl(240 60% 31.37%)
HSLAhsla(240, 60%, 31.37%, 1)
HSVhsv(240, 75%, 50.2%)
CMYKcmyk(75%, 75%, 0%, 49.8%)
OKLCHoklch(32.15% 0.1553 273.37)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

13.29:1

AAA normal

Black text

1.58:1

Decorative only

Reference notes

Midnight Blue is the nearest readable name for #202080, a clear blue with deep value. Its RGB value is 32, 32, 128, while the HSL reading places it around 240 degrees of hue, 60% saturation, and 31% 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.