#5a5f8b Color Information

In a RGB color space, hex #5a5f8b is composed of 35.3% red, 37.3% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 31.7% magenta, 0% yellow and 45.5% black. It has a hue angle of 233.9 degrees, a saturation of 21.4% and a lightness of 44.9%. #5a5f8b color hex could be obtained by blending #b4beff with #000017. Closest websafe color is: #666699.

    • R 35
    • G 37
    • B 55
    RGB color chart
    • C 35
    • M 32
    • Y 0
    • K 45
    CMYK color chart

#5a5f8b color description : Mostly desaturated dark blue.

#5a5f8b Color Conversion

The hexadecimal color #5a5f8b has RGB values of R:90, G:95, B:139 and CMYK values of C:0.35, M:0.32, Y:0, K:0.45. Its decimal value is 5922699.

Hex triplet 5a5f8b #5a5f8b
RGB Decimal 90, 95, 139 rgb(90,95,139)
RGB Percent 35.3, 37.3, 54.5 rgb(35.3%,37.3%,54.5%)
CMYK 35, 32, 0, 45
HSL 233.9°, 21.4, 44.9 hsl(233.9,21.4%,44.9%)
HSV (or HSB) 233.9°, 35.3, 54.5
Web Safe 666699 #666699
CIE-LAB 41.567, 9.271, -24.987
XYZ 12.968, 12.222, 26.1
xyY 0.253, 0.238, 12.222
CIE-LCH 41.567, 26.651, 290.358
CIE-LUV 41.567, -4.83, -36.616
Hunter-Lab 34.96, 5.033, -19.793
Binary 01011010, 01011111, 10001011

Color Schemes with #5a5f8b

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

Alternatives to #5a5f8b

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

Similar Colors

#5a5f8b Preview

Text with hexadecimal color #5a5f8b

This text has a font color of #5a5f8b.

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

This paragraph has a background color of #5a5f8b.

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

This element has a border color of #5a5f8b.

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

Shades and Tints of #5a5f8b

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 #5a5f8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5f8b 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
  • #636363 Achromatopsia 0.005% of the population
  • #61626b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #5c6892 Protanopia 1% of men
  • #5b6990 Deuteranopia 1% of men
  • #5a6d74 Tritanopia 0.001% of the population
Trichromacy
  • #5b658f Protanomaly 1% of men, 0.01% of women
  • #5b658e Deuteranomaly 6% of men, 0.4% of women
  • #5a677c Tritanomaly 0.01% of the population