⤺ color picker

#5172e6 Color Hex

Hex color #5172e6, RGB(81, 114, 230) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #5172e6 is a shade of blue. In a RGB color space it is composed of 31.76% red, 44.71% green and 90.2% blue. In HSL notation it has 226.7° hue, 74.9% saturation and 61% lightness. The process color (CMYK) is combination of 64.78% cyan, 50.43% magenta, 0% yellow and 9.80% key (black). The closest short hexadecimal code of #5172e6 is #57e.

Color information

  • #5172e6 is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 64.78%
    • Magenta: 50.43%
    • Yellow: 0%
    • Key color - black: 9.80%
  • In the HSL model coordinates are:
    • Hue: 226.7° degrees
    • Saturation: 74.9%
    • Lightness: 61%
  • The values in the RGB color space are:
    • Red: 81 (31.76%)
    • Green: 114 (44.71%)
    • Blue: 230 (90.2%)


C: 64.78%, M: 50.43%, Y: 0%, K: 9.80%
R: 81, G: 114, B: 230
H: 226.7°, S: 74.9%, L: 61%

Color harmonies

#5172e6 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #5172e6; }
.setBackgroundColor { background-color: #5172e6; }

#5172e6 text/font color

How to set font color?

<p style="color:#5172e6">Font color is #5172e6.</p>

Font color is #5172e6.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant

#5172e6 background color

How to set background color?

<div style="background-color:#5172e6">Background color is #5172e6.</div>

Background color is #5172e6.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore