#5a51f8 Color Information

In a RGB color space, hex #5a51f8 is composed of 35.3% red, 31.8% green and 97.3% blue. Whereas in a CMYK color space, it is composed of 63.7% cyan, 67.3% magenta, 0% yellow and 2.7% black. It has a hue angle of 243.2 degrees, a saturation of 92.3% and a lightness of 64.5%. #5a51f8 color hex could be obtained by blending #b4a2ff with #0000f1. Closest websafe color is: #6666ff.

    • R 35
    • G 32
    • B 97
    RGB color chart
    • C 64
    • M 67
    • Y 0
    • K 3
    CMYK color chart

#5a51f8 color description : Soft blue.

#5a51f8 Color Conversion

The hexadecimal color #5a51f8 has RGB values of R:90, G:81, B:248 and CMYK values of C:0.64, M:0.67, Y:0, K:0.03. Its decimal value is 5919224.

Hex triplet 5a51f8 #5a51f8
RGB Decimal 90, 81, 248 rgb(90,81,248)
RGB Percent 35.3, 31.8, 97.3 rgb(35.3%,31.8%,97.3%)
CMYK 64, 67, 0, 3
HSL 243.2°, 92.3, 64.5 hsl(243.2,92.3%,64.5%)
HSV (or HSB) 243.2°, 67.3, 97.3
Web Safe 6666ff #6666ff
CIE-LAB 45.407, 51.778, -82.097
XYZ 24.099, 14.835, 90.395
xyY 0.186, 0.115, 14.835
CIE-LCH 45.407, 97.061, 302.239
CIE-LUV 45.407, -6.894, -124.252
Hunter-Lab 38.516, 44.282, -112.19
Binary 01011010, 01010001, 11111000

Color Schemes with #5a51f8

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

Alternatives to #5a51f8

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

Similar Colors

#5a51f8 Preview

Text with hexadecimal color #5a51f8

This text has a font color of #5a51f8.

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

This paragraph has a background color of #5a51f8.

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

This element has a border color of #5a51f8.

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

Shades and Tints of #5a51f8

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, #01010f is the darkest color, while #fbfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a51f8

A tone is produced by adding gray to any pure hue. In this case, #9e9eab is the less saturated color, while #544aff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a51f8 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
  • #676767 Achromatopsia 0.005% of the population
  • #646384 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006fd9 Protanopia 1% of men
  • #0076bd Deuteranopia 1% of men
  • #007e86 Tritanopia 0.001% of the population
Trichromacy
  • #2064e4 Protanomaly 1% of men, 0.01% of women
  • #2068d3 Deuteranomaly 6% of men, 0.4% of women
  • #206daf Tritanomaly 0.01% of the population