#331f87 Color Information

In a RGB color space, hex #331f87 is composed of 20% red, 12.2% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 62.2% cyan, 77% magenta, 0% yellow and 47.1% black. It has a hue angle of 251.5 degrees, a saturation of 62.7% and a lightness of 32.5%. #331f87 color hex could be obtained by blending #663eff with #00000f. Closest websafe color is: #333399.

    • R 20
    • G 12
    • B 53
    RGB color chart
    • C 62
    • M 77
    • Y 0
    • K 47
    CMYK color chart

#331f87 color description : Dark blue.

#331f87 Color Conversion

The hexadecimal color #331f87 has RGB values of R:51, G:31, B:135 and CMYK values of C:0.62, M:0.77, Y:0, K:0.47. Its decimal value is 3350407.

Hex triplet 331f87 #331f87
RGB Decimal 51, 31, 135 rgb(51,31,135)
RGB Percent 20, 12.2, 52.9 rgb(20%,12.2%,52.9%)
CMYK 62, 77, 0, 47
HSL 251.5°, 62.7, 32.5 hsl(251.5,62.7%,32.5%)
HSV (or HSB) 251.5°, 77, 52.9
Web Safe 333399 #333399
CIE-LAB 21.7, 39.072, -54.549
XYZ 6.228, 3.433, 23.255
xyY 0.189, 0.104, 3.433
CIE-LCH 21.7, 67.099, 305.613
CIE-LUV 21.7, -0.689, -63.752
Hunter-Lab 18.528, 27.573, -61.447
Binary 00110011, 00011111, 10000111

Color Schemes with #331f87

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #331f87

Below, you can see some colors close to #331f87. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#331f87 Preview

Text with hexadecimal color #331f87

This text has a font color of #331f87.

<span style="color:#331f87;">Text here</span>
#331f87 background color

This paragraph has a background color of #331f87.

<p style="background-color:#331f87;">Content here</p>
#331f87 border color

This element has a border color of #331f87.

<div style="border:1px solid #331f87;">Content here</div>
CSS codes
.text {color:#331f87;}
.background {background-color:#331f87;}
.border {border:1px solid #331f87;}

Shades and Tints of #331f87

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #030207 is the darkest color, while #f8f6fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #331f87

A tone is produced by adding gray to any pure hue. In this case, #525254 is the less saturated color, while #2305a1 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331f87 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #313131 Achromatopsia 0.005% of the population
  • #312d42 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c76 Protanopia 1% of men
  • #004066 Deuteranopia 1% of men
  • #004449 Tritanopia 0.001% of the population
Trichromacy
  • #12317c Protanomaly 1% of men, 0.01% of women
  • #123472 Deuteranomaly 6% of men, 0.4% of women
  • #12365f Tritanomaly 0.01% of the population