#331faf Color Information

In a RGB color space, hex #331faf is composed of 20% red, 12.2% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 70.9% cyan, 82.3% magenta, 0% yellow and 31.4% black. It has a hue angle of 248.3 degrees, a saturation of 69.9% and a lightness of 40.4%. #331faf color hex could be obtained by blending #663eff with #00005f. Closest websafe color is: #333399.

    • R 20
    • G 12
    • B 69
    RGB color chart
    • C 71
    • M 82
    • Y 0
    • K 31
    CMYK color chart

#331faf color description : Dark blue.

#331faf Color Conversion

The hexadecimal color #331faf has RGB values of R:51, G:31, B:175 and CMYK values of C:0.71, M:0.82, Y:0, K:0.31. Its decimal value is 3350447.

Hex triplet 331faf #331faf
RGB Decimal 51, 31, 175 rgb(51,31,175)
RGB Percent 20, 12.2, 68.6 rgb(20%,12.2%,68.6%)
CMYK 71, 82, 0, 31
HSL 248.3°, 69.9, 40.4 hsl(248.3,69.9%,40.4%)
HSV (or HSB) 248.3°, 82.3, 68.6
Web Safe 333399 #333399
CIE-LAB 26.094, 51.345, -71.815
XYZ 9.592, 4.778, 40.972
xyY 0.173, 0.086, 4.778
CIE-LCH 26.094, 88.282, 305.563
CIE-LUV 26.094, -3.371, -87.422
Hunter-Lab 21.86, 40.068, -95.827
Binary 00110011, 00011111, 10101111

Color Schemes with #331faf

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

Alternatives to #331faf

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

Similar Colors

#331faf Preview

Text with hexadecimal color #331faf

This text has a font color of #331faf.

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

This paragraph has a background color of #331faf.

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

This element has a border color of #331faf.

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

Shades and Tints of #331faf

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

Shade Color Variation
Tint Color Variation

Tones of #331faf

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331faf 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
  • #004587 Protanopia 1% of men
  • #004975 Deuteranopia 1% of men
  • #004e53 Tritanopia 0.001% of the population
Trichromacy
  • #123795 Protanomaly 1% of men, 0.01% of women
  • #123a8a Deuteranomaly 6% of men, 0.4% of women
  • #123d74 Tritanomaly 0.01% of the population