#5a5f95 Color Information

In a RGB color space, hex #5a5f95 is composed of 35.3% red, 37.3% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 36.2% magenta, 0% yellow and 41.6% black. It has a hue angle of 234.9 degrees, a saturation of 24.7% and a lightness of 46.9%. #5a5f95 color hex could be obtained by blending #b4beff with #00002b. Closest websafe color is: #666699.

    • R 35
    • G 37
    • B 58
    RGB color chart
    • C 40
    • M 36
    • Y 0
    • K 42
    CMYK color chart

#5a5f95 color description : Mostly desaturated dark blue.

#5a5f95 Color Conversion

The hexadecimal color #5a5f95 has RGB values of R:90, G:95, B:149 and CMYK values of C:0.4, M:0.36, Y:0, K:0.42. Its decimal value is 5922709.

Hex triplet 5a5f95 #5a5f95
RGB Decimal 90, 95, 149 rgb(90,95,149)
RGB Percent 35.3, 37.3, 58.4 rgb(35.3%,37.3%,58.4%)
CMYK 40, 36, 0, 42
HSL 234.9°, 24.7, 46.9 hsl(234.9,24.7%,46.9%)
HSV (or HSB) 234.9°, 39.6, 58.4
Web Safe 666699 #666699
CIE-LAB 42.043, 12.181, -30.251
XYZ 13.732, 12.528, 30.127
xyY 0.244, 0.222, 12.528
CIE-LCH 42.043, 32.611, 291.932
CIE-LUV 42.043, -5.325, -44.952
Hunter-Lab 35.394, 7.314, -25.69
Binary 01011010, 01011111, 10010101

Color Schemes with #5a5f95

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

Alternatives to #5a5f95

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

Similar Colors

#5a5f95 Preview

Text with hexadecimal color #5a5f95

This text has a font color of #5a5f95.

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

This paragraph has a background color of #5a5f95.

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

This element has a border color of #5a5f95.

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

Shades and Tints of #5a5f95

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 #f5f5f9 is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5f95

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f95 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
  • #646464 Achromatopsia 0.005% of the population
  • #62636e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #58699c Protanopia 1% of men
  • #556a99 Deuteranopia 1% of men
  • #576f77 Tritanopia 0.001% of the population
Trichromacy
  • #586599 Protanomaly 1% of men, 0.01% of women
  • #576697 Deuteranomaly 6% of men, 0.4% of women
  • #586981 Tritanomaly 0.01% of the population