#331DCC
A medium, vivid blue closely aligning with Mediumblue.
About #331DCC
At its core, #331DCC is a medium and vivid hue. Its closest recognized web color is Mediumblue. In the RGB color space, it consists of 51 red, 29 green, and 204 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 75% Cyan, 86% Magenta, 0% Yellow, and 20% Black. With a hue angle of 247.5 degrees, it sits comfortably in the blue spectrum.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#331DCC
RGB51, 29, 204
HSL247.5°, 75.1%, 45.7%
CMYK75%, 86%, 0%, 20%
HSV247.5°, 85.8%, 80.0%
LAB29.3, 60.5, -83.7
XYZ12.7, 5.9, 57.6
Decimal3349964
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.60:1
Text on #FFFFFF
AAA
2.19:1
Text on #000000
FAIL
9.17:1
Text on #F8FAFC
AAA
1.86:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #331DCC;
}
.text-color {
color: #331DCC;
}
.border-color {
border: 2px solid #331DCC;
}