#331D83

A dark, moderate blue closely aligning with Midnightblue.

About #331D83

At its core, #331D83 is a dark and moderate hue. Designers often compare it to the standard color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 29, and 131.

For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 61% C, 78% M, 0% Y, and 49% K. The HSL representation is 252.9° hue, 63.7% saturation, and 31.4% lightness.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#331D83
RGB51, 29, 131
HSL252.9°, 63.7%, 31.4%
CMYK61%, 78%, 0%, 49%
HSV252.9°, 77.9%, 51.4%
LAB20.9, 38.9, -53.3
XYZ5.9, 3.2, 21.8
Decimal3349891

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.77:1
Text on #FFFFFF
AAA
1.64:1
Text on #000000
FAIL
12.21:1
Text on #F8FAFC
AAA
1.40:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #331D83; }
.text-color { color: #331D83; }
.border-color { border: 2px solid #331D83; }

Similar Colors

Midnightblue
#191970