#331f8b Color Information

In a RGB color space, hex #331f8b is composed of 20% red, 12.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 63.3% cyan, 77.7% magenta, 0% yellow and 45.5% black. It has a hue angle of 251.1 degrees, a saturation of 63.5% and a lightness of 33.3%. #331f8b color hex could be obtained by blending #663eff with #000017. Closest websafe color is: #333399.

    • R 20
    • G 12
    • B 55
    RGB color chart
    • C 63
    • M 78
    • Y 0
    • K 45
    CMYK color chart

#331f8b color description : Dark blue.

#331f8b Color Conversion

The hexadecimal color #331f8b has RGB values of R:51, G:31, B:139 and CMYK values of C:0.63, M:0.78, Y:0, K:0.45. Its decimal value is 3350411.

Hex triplet 331f8b #331f8b
RGB Decimal 51, 31, 139 rgb(51,31,139)
RGB Percent 20, 12.2, 54.5 rgb(20%,12.2%,54.5%)
CMYK 63, 78, 0, 45
HSL 251.1°, 63.5, 33.3 hsl(251.1,63.5%,33.3%)
HSV (or HSB) 251.1°, 77.7, 54.5
Web Safe 333399 #333399
CIE-LAB 22.116, 40.33, -56.368
XYZ 6.515, 3.548, 24.766
xyY 0.187, 0.102, 3.548
CIE-LCH 22.116, 69.31, 305.583
CIE-LUV 22.116, -0.982, -66.158
Hunter-Lab 18.835, 28.777, -64.775
Binary 00110011, 00011111, 10001011

Color Schemes with #331f8b

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

Alternatives to #331f8b

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

Similar Colors

#331f8b Preview

Text with hexadecimal color #331f8b

This text has a font color of #331f8b.

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

This paragraph has a background color of #331f8b.

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

This element has a border color of #331f8b.

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

Shades and Tints of #331f8b

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, #04020b is the darkest color, while #fafafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #331f8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331f8b 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
  • #312d43 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d77 Protanopia 1% of men
  • #004168 Deuteranopia 1% of men
  • #00454a Tritanopia 0.001% of the population
Trichromacy
  • #12327e Protanomaly 1% of men, 0.01% of women
  • #123474 Deuteranomaly 6% of men, 0.4% of women
  • #123761 Tritanomaly 0.01% of the population