#5a5fb8 Color Information

In a RGB color space, hex #5a5fb8 is composed of 35.3% red, 37.3% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 51.1% cyan, 48.4% magenta, 0% yellow and 27.8% black. It has a hue angle of 236.8 degrees, a saturation of 39.8% and a lightness of 53.7%. #5a5fb8 color hex could be obtained by blending #b4beff with #000071. Closest websafe color is: #6666cc.

    • R 35
    • G 37
    • B 72
    RGB color chart
    • C 51
    • M 48
    • Y 0
    • K 28
    CMYK color chart

#5a5fb8 color description : Moderate blue.

#5a5fb8 Color Conversion

The hexadecimal color #5a5fb8 has RGB values of R:90, G:95, B:184 and CMYK values of C:0.51, M:0.48, Y:0, K:0.28. Its decimal value is 5922744.

Hex triplet 5a5fb8 #5a5fb8
RGB Decimal 90, 95, 184 rgb(90,95,184)
RGB Percent 35.3, 37.3, 72.2 rgb(35.3%,37.3%,72.2%)
CMYK 51, 48, 0, 28
HSL 236.8°, 39.8, 53.7 hsl(236.8,39.8%,53.7%)
HSV (or HSB) 236.8°, 51.1, 72.2
Web Safe 6666cc #6666cc
CIE-LAB 43.971, 22.989, -47.879
XYZ 16.959, 13.818, 47.118
xyY 0.218, 0.177, 13.818
CIE-LCH 43.971, 53.112, 295.648
CIE-LUV 43.971, -7.025, -73.26
Hunter-Lab 37.173, 16.381, -49.132
Binary 01011010, 01011111, 10111000

Color Schemes with #5a5fb8

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

Alternatives to #5a5fb8

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

Similar Colors

#5a5fb8 Preview

Text with hexadecimal color #5a5fb8

This text has a font color of #5a5fb8.

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

This paragraph has a background color of #5a5fb8.

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

This element has a border color of #5a5fb8.

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

Shades and Tints of #5a5fb8

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, #06060d is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5fb8

A tone is produced by adding gray to any pure hue. In this case, #87888b is the less saturated color, while #1a26f8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5fb8 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
  • #686868 Achromatopsia 0.005% of the population
  • #656678 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #416dc0 Protanopia 1% of men
  • #2f71b7 Deuteranopia 1% of men
  • #49767f Tritanopia 0.001% of the population
Trichromacy
  • #4a67bd Protanomaly 1% of men, 0.01% of women
  • #3e6ab7 Deuteranomaly 6% of men, 0.4% of women
  • #4f6d93 Tritanomaly 0.01% of the population