#5a5f9e Color Information

In a RGB color space, hex #5a5f9e is composed of 35.3% red, 37.3% green and 62% blue. Whereas in a CMYK color space, it is composed of 43% cyan, 39.9% magenta, 0% yellow and 38% black. It has a hue angle of 235.6 degrees, a saturation of 27.4% and a lightness of 48.6%. #5a5f9e color hex could be obtained by blending #b4beff with #00003d. Closest websafe color is: #666699.

    • R 35
    • G 37
    • B 62
    RGB color chart
    • C 43
    • M 40
    • Y 0
    • K 38
    CMYK color chart

#5a5f9e color description : Mostly desaturated dark blue.

#5a5f9e Color Conversion

The hexadecimal color #5a5f9e has RGB values of R:90, G:95, B:158 and CMYK values of C:0.43, M:0.4, Y:0, K:0.38. Its decimal value is 5922718.

Hex triplet 5a5f9e #5a5f9e
RGB Decimal 90, 95, 158 rgb(90,95,158)
RGB Percent 35.3, 37.3, 62 rgb(35.3%,37.3%,62%)
CMYK 43, 40, 0, 38
HSL 235.6°, 27.4, 48.6 hsl(235.6,27.4%,48.6%)
HSV (or HSB) 235.6°, 43, 62
Web Safe 666699 #666699
CIE-LAB 42.5, 14.879, -34.902
XYZ 14.479, 12.826, 34.059
xyY 0.236, 0.209, 12.826
CIE-LCH 42.5, 37.941, 293.09
CIE-LUV 42.5, -5.768, -52.386
Hunter-Lab 35.814, 9.491, -31.315
Binary 01011010, 01011111, 10011110

Color Schemes with #5a5f9e

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

Alternatives to #5a5f9e

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

Similar Colors

#5a5f9e Preview

Text with hexadecimal color #5a5f9e

This text has a font color of #5a5f9e.

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

This paragraph has a background color of #5a5f9e.

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

This element has a border color of #5a5f9e.

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

Shades and Tints of #5a5f9e

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

Shade Color Variation
Tint Color Variation

Tones of #5a5f9e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f9e 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
  • #656565 Achromatopsia 0.005% of the population
  • #636470 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #536aa5 Protanopia 1% of men
  • #4e6ca1 Deuteranopia 1% of men
  • #547078 Tritanopia 0.001% of the population
Trichromacy
  • #5666a2 Protanomaly 1% of men, 0.01% of women
  • #5267a0 Deuteranomaly 6% of men, 0.4% of women
  • #566a86 Tritanomaly 0.01% of the population