#331DF8
A medium, vivid blue closely aligning with Blue.
About #331DF8
The precise color #331DF8 is an excellent choice for modern design projects. Its closest recognized web color is Blue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 29, and 248.
For print applications, it's crucial to understand its CMYK makeup. The color uses 79% Cyan, 88% Magenta, 0% Yellow, and 3% Black. With a hue angle of 246.0 degrees, it sits comfortably in the blue spectrum.
When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#331DF8
RGB51, 29, 248
HSL246.0°, 94.0%, 54.3%
CMYK79%, 88%, 0%, 3%
HSV246.0°, 88.3%, 97.3%
LAB34.7, 72.4, -99.9
XYZ18.7, 8.4, 89.4
Decimal3350008
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.86:1
Text on #FFFFFF
AAA
2.67:1
Text on #000000
FAIL
7.51:1
Text on #F8FAFC
AAA
2.27:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #331DF8;
}
.text-color {
color: #331DF8;
}
.border-color {
border: 2px solid #331DF8;
}