#331fab Color Information

In a RGB color space, hex #331fab is composed of 20% red, 12.2% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 70.2% cyan, 81.9% magenta, 0% yellow and 32.9% black. It has a hue angle of 248.6 degrees, a saturation of 69.3% and a lightness of 39.6%. #331fab color hex could be obtained by blending #663eff with #000057. Closest websafe color is: #333399.

    • R 20
    • G 12
    • B 67
    RGB color chart
    • C 70
    • M 82
    • Y 0
    • K 33
    CMYK color chart

#331fab color description : Dark blue.

#331fab Color Conversion

The hexadecimal color #331fab has RGB values of R:51, G:31, B:171 and CMYK values of C:0.7, M:0.82, Y:0, K:0.33. Its decimal value is 3350443.

Hex triplet 331fab #331fab
RGB Decimal 51, 31, 171 rgb(51,31,171)
RGB Percent 20, 12.2, 67.1 rgb(20%,12.2%,67.1%)
CMYK 70, 82, 0, 33
HSL 248.6°, 69.3, 39.6 hsl(248.6,69.3%,39.6%)
HSV (or HSB) 248.6°, 81.9, 67.1
Web Safe 333399 #333399
CIE-LAB 25.634, 50.152, -70.172
XYZ 9.204, 4.624, 38.933
xyY 0.174, 0.088, 4.624
CIE-LCH 25.634, 86.251, 305.553
CIE-LUV 25.634, -3.124, -85.088
Hunter-Lab 21.503, 38.78, -92.301
Binary 00110011, 00011111, 10101011

Color Schemes with #331fab

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

Alternatives to #331fab

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

Similar Colors

#331fab Preview

Text with hexadecimal color #331fab

This text has a font color of #331fab.

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

This paragraph has a background color of #331fab.

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

This element has a border color of #331fab.

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

Shades and Tints of #331fab

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

Shade Color Variation
Tint Color Variation

Tones of #331fab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331fab 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
  • #353535 Achromatopsia 0.005% of the population
  • #35314d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004485 Protanopia 1% of men
  • #004873 Deuteranopia 1% of men
  • #004d52 Tritanopia 0.001% of the population
Trichromacy
  • #123793 Protanomaly 1% of men, 0.01% of women
  • #123987 Deuteranomaly 6% of men, 0.4% of women
  • #123c72 Tritanomaly 0.01% of the population