#5a5f81 Color Information

In a RGB color space, hex #5a5f81 is composed of 35.3% red, 37.3% green and 50.6% blue. Whereas in a CMYK color space, it is composed of 30.2% cyan, 26.4% magenta, 0% yellow and 49.4% black. It has a hue angle of 232.3 degrees, a saturation of 17.8% and a lightness of 42.9%. #5a5f81 color hex could be obtained by blending #b4beff with #000003. Closest websafe color is: #666699.

    • R 35
    • G 37
    • B 51
    RGB color chart
    • C 30
    • M 26
    • Y 0
    • K 49
    CMYK color chart

#5a5f81 color description : Mostly desaturated dark blue.

#5a5f81 Color Conversion

The hexadecimal color #5a5f81 has RGB values of R:90, G:95, B:129 and CMYK values of C:0.3, M:0.26, Y:0, K:0.49. Its decimal value is 5922689.

Hex triplet 5a5f81 #5a5f81
RGB Decimal 90, 95, 129 rgb(90,95,129)
RGB Percent 35.3, 37.3, 50.6 rgb(35.3%,37.3%,50.6%)
CMYK 30, 26, 0, 49
HSL 232.3°, 17.8, 42.9 hsl(232.3,17.8%,42.9%)
HSV (or HSB) 232.3°, 30.2, 50.6
Web Safe 666699 #666699
CIE-LAB 41.125, 6.473, -19.621
XYZ 12.27, 11.943, 22.426
xyY 0.263, 0.256, 11.943
CIE-LCH 41.125, 20.661, 288.259
CIE-LUV 41.125, -4.336, -28.25
Hunter-Lab 34.558, 2.901, -14.285
Binary 01011010, 01011111, 10000001

Color Schemes with #5a5f81

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

Alternatives to #5a5f81

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

Similar Colors

#5a5f81 Preview

Text with hexadecimal color #5a5f81

This text has a font color of #5a5f81.

<span style="color:#5a5f81;">Text here</span>
#5a5f81 background color

This paragraph has a background color of #5a5f81.

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

This element has a border color of #5a5f81.

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

Shades and Tints of #5a5f81

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

Shade Color Variation
Tint Color Variation

Tones of #5a5f81

A tone is produced by adding gray to any pure hue. In this case, #6b6c70 is the less saturated color, while #0620d5 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f81 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
  • #616161 Achromatopsia 0.005% of the population
  • #606167 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #5f6888 Protanopia 1% of men
  • #616787 Deuteranopia 1% of men
  • #5d6b73 Tritanopia 0.001% of the population
Trichromacy
  • #5d6485 Protanomaly 1% of men, 0.01% of women
  • #5e6485 Deuteranomaly 6% of men, 0.4% of women
  • #5c6678 Tritanomaly 0.01% of the population