#331a8b Color Information

In a RGB color space, hex #331a8b is composed of 20% red, 10.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 63.3% cyan, 81.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 253.3 degrees, a saturation of 68.5% and a lightness of 32.4%. #331a8b color hex could be obtained by blending #6634ff with #000017. Closest websafe color is: #333399.

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

#331a8b color description : Dark blue.

#331a8b Color Conversion

The hexadecimal color #331a8b has RGB values of R:51, G:26, B:139 and CMYK values of C:0.63, M:0.81, Y:0, K:0.45. Its decimal value is 3349131.

Hex triplet 331a8b #331a8b
RGB Decimal 51, 26, 139 rgb(51,26,139)
RGB Percent 20, 10.2, 54.5 rgb(20%,10.2%,54.5%)
CMYK 63, 81, 0, 45
HSL 253.3°, 68.5, 32.4 hsl(253.3,68.5%,32.4%)
HSV (or HSB) 253.3°, 81.3, 54.5
Web Safe 333399 #333399
CIE-LAB 21.232, 42.87, -57.827
XYZ 6.394, 3.306, 24.726
xyY 0.186, 0.096, 3.306
CIE-LCH 21.232, 71.985, 306.552
CIE-LUV 21.232, -0.375, -66.167
Hunter-Lab 18.184, 30.945, -67.893
Binary 00110011, 00011010, 10001011

Color Schemes with #331a8b

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

Alternatives to #331a8b

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

Similar Colors

#331a8b Preview

Text with hexadecimal color #331a8b

This text has a font color of #331a8b.

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

This paragraph has a background color of #331a8b.

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

This element has a border color of #331a8b.

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

Shades and Tints of #331a8b

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, #020107 is the darkest color, while #f7f5fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #331a8b

A tone is produced by adding gray to any pure hue. In this case, #4f4d58 is the less saturated color, while #2501a4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331a8b 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
  • #2e2e2e Achromatopsia 0.005% of the population
  • #2f2a41 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b74 Protanopia 1% of men
  • #003f65 Deuteranopia 1% of men
  • #004348 Tritanopia 0.001% of the population
Trichromacy
  • #122f7c Protanomaly 1% of men, 0.01% of women
  • #123172 Deuteranomaly 6% of men, 0.4% of women
  • #123460 Tritanomaly 0.01% of the population