#331DDB
A medium, vivid blue closely aligning with Mediumblue.
About #331DDB
Visually, #331DDB is defined as a vivid blue. Its closest recognized web color is Mediumblue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 29, and 219.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 77% C, 87% M, 0% Y, and 14% K. With a hue angle of 246.9 degrees, it sits comfortably in the blue spectrum.
When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#331DDB
RGB51, 29, 219
HSL246.9°, 76.6%, 48.6%
CMYK77%, 87%, 0%, 14%
HSV246.9°, 86.8%, 85.9%
LAB31.1, 64.7, -89.4
XYZ14.6, 6.7, 67.5
Decimal3349979
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.98:1
Text on #FFFFFF
AAA
2.34:1
Text on #000000
FAIL
8.58:1
Text on #F8FAFC
AAA
1.99:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #331DDB;
}
.text-color {
color: #331DDB;
}
.border-color {
border: 2px solid #331DDB;
}